Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 805 Bytes

composer.md

File metadata and controls

13 lines (9 loc) · 805 Bytes

Composer

Command Description
composer update Install dependencies from composer.json and create composer.lock file. Used to update the dependencies to their latest versions too.
composer install Install dependencies from composer.lock file (use this if there is already a composer.look to use the same dependencies as the other people in the team.
composer show --platform Displays the environment on the machine, that is relevant for Composer, where Composer is running.
composer dump-autoload Re-generate the vendor/autoload.php file. Run this if you have added something to the autoload section of the composer.json file.
composer require <package> Install a package.
composer remove <package> Uninstall a package.