Composer Available Commands

suggest change
Command Usage
about Short information about Composer.
archive Create an archive of this Composer package.
browse Open the package’s repository URL or homepage in the browser.
clear-cache, clearcache Clear Composer’s package cache.
config Set config options.
create-project Create a new project from a package in the given directory.
depends, why Show which packages cause the given package to be installed.
diagnose Check the system for common errors.
dump-autoload, dumpautoload Regenerate the autoloader.
exec Run a vendored binary or script.
global Run a command in the global Composer directory ($COMPOSER_HOME).
help Show help for a command.
home Open the package’s repository URL or homepage in the browser.
info, show Show information about packages.
init Create a basic composer.json in the current directory.
install Install dependencies from composer.lock, or from composer.json if there is no lock file.
licenses Show dependency licenses.
list List commands.
outdated List installed packages that have newer versions allowed by the constraints.
prohibits, why-not Show which packages prevent the given package from being installed.
remove Remove a package from require or require-dev.
require Add packages to composer.json and install them.
run-script Run scripts defined in composer.json.
search Search for packages.
self-update, selfupdate Update composer.phar to the latest version.
status List locally modified packages.
suggests Show package suggestions.
update Update dependencies to the newest versions allowed by composer.json, and rewrite composer.lock.
validate Validate composer.json and composer.lock.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents