AssociationsDebugger is a simple plugin that is made for debugging associations. The point of this plugin is to quickly show different associations of your CakePHP application without you needing to browse through the model files.
- CakePHP 3.x
- PHP 7.2 >
Installing Using Composer
cd
to the root of your app folder (where the composer.json
file is) and run the following command:
composer require zunnu/associations-debugger
Then load the plugin by using CakePHP's console:
./bin/cake plugin load AssociationsDebugger
You can see the tree by going to https://app-address/associations-debugger Here you can filter by association type.
This same tree can be also viewed in the CakePHP debugKit.
Association structure is explained here:
Licensed under The MIT License.