Download the PHP package cakephp/plugin-installer without Composer
On this page you can find all versions of the php package cakephp/plugin-installer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
More information about cakephp/plugin-installer
Files in cakephp/plugin-installer
Short Description A composer installer for CakePHP plugins.
Informations about the package plugin-installer
CakePHP Plugin Installer
A composer installer for installing CakePHP plugins.
This installer ensures your application is aware of CakePHP plugins installed
by composer in
Your CakePHP application should already depend on
not in your CakePHP application run:
Your plugins themselves do not need to require
only need to specify the
type in their composer config:
Multiple Plugin Paths
If your application uses multiple plugin paths. In addition to configuring your
application settings you will also need to update your
composer.json to ensure
cakephp-plugins.php file is correct:
For the installer to work properly ensure that your plugin's composer config file has a proper autoload section. Assuming your plugin's namespace is "MyPlugin" the autoload section would be like:
Not strictly necessary for the working of the installer but ideally you would also have an "autoload-dev" section for loading test files:
If your top level namespace is a vendor name then your namespace to path mapping would be like:
If you need to generate
cakephp-plugins.php separately, you can simply run the
You cannot use
cakephp-plugins.php will not generate.
If you don't want to re-generate the entire autoload dump, you can run just the scripts:
Please see composer documentation for details.