I'm having some issues installing and configuring a plugin, and I think if I had a better idea of how things worked I might be able to figure it out?!
When I install the cakemanager/cakephp-settings plugin via composer it adds to my vendor folder a 'cakemanager' folder with 3 sub-folders: 'cakephp-settings', 'cakephp-utils' (a dependency) and 'Settings'. The 'cakephp-settings' folder is essentially empty, and all the plugin files are in the 'Settings' folder.
However, when I try to run the migrations I get an error that it cant find the /vendor/cakemanager/cakephp-settings/config/bootstrap.php file - no small wonder as this file doesnt exist! Same error pretty much everywhere in my application
In the vendor/cakephp-plugins.php file I have this:
'Settings' => $baseDir . '/vendor/cakemanager/cakephp-settings/',
If I temporarily change this to
'Settings' => $baseDir . '/vendor/cakemanager/Settings/',
I can get the migrations done and my pages look normal again, however this reverts when I run composer dumpautoload and causes further issues down the track - I need a permanent solution.
How do I edit the plugin (composer.json files?) so that it builds the cakephp-plugins.php file correctly and it looks in the correct path for the bootstrap.php file?
composer/installersinstalled by any chance? - ndm