This part is accessible from the webtools, so if you created your project with the -a option or with the create-project command..
From the webtools, activate the composer part,
or go directly to
The interface displays the list of already installed dependencies, and those that are directly installable.
Among the listed dependencies:¶
Click on the add button of the dependencies you want to add.
Then click on the Generate composer update button:
The validation generates the update.
For non listed dependencies:¶
Click on the Add dependency button :
- Enter a vendor name (provider) ;
- Select a package in the list ;
- Select eventually a version (if none, the last stable version will be installed).
Click on the remove button of the dependencies you want to add.
Then click on the Generate composer update button, and validate the update.
It is possible to perform several addition or deletion operations and validate them simultaneously.
Click on the Optimize autoloader button.
This optimize composer autoloading with an authoritative classmap.