Results: 17
If we want to update all packages of the specified vendor
composer update "vendor/*"
If we only want to update the specified package
composer update vendor/package
Recreates autoload files inside
/vendor/composer/
directory
composer dumpautoload  /  composer dump-autoload
Installs
vendor/package
with development mode
composer require --dev illuminate/container
The package will be listed in require-dev inside
composer.json
"require-dev": {
        "illuminate/container": "^7.25"
}
Searches packages in packagist repositories
composer search keyword
If we only want to update a few packages and not all
composer update vendor/package vendor/package2
Automated command to generate
composer.json
composer init
Results: 17