
Composer
Feb 8, 2012 · Authors: Nils Adermann, Jordi Boggiano and many community contributions Sponsored by: Logo by: Max Grigorian Composer and all content on this site are released …
Download Composer
Feb 8, 2012 · To quickly install Composer in the current directory, run the following script in your terminal. To automate the installation, use the guide on installing Composer programmatically.
Basic usage - Composer
To start using Composer in your project, all you need is a composer.json file. This file describes the dependencies of your project and may contain other metadata as well.
Introduction - Composer
Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.
Command-line interface / Commands - Composer
To get help from the command-line, call composer or composer list to see the complete list of commands, then --help combined with any of those can give you more information.
Composer
Composer platform dependencies Making your package depend on specific Composer versions Setting up and using custom installers Modify the way certain types of packages are installed
Libraries - Composer
Packagist is the main package repository for Composer, and it is enabled by default. Anything that is published on Packagist is available automatically through Composer.
Composer
Feb 25, 2025 · Added COMPOSER_WITH_DEPENDENCIES and COMPOSER_WITH_ALL_DEPENDENCIES env vars to enable the --with[-all]-dependencies …
Authentication for privately hosted packages and repositories
In order to allow your project to have access to these packages and repositories you will have to tell Composer how to authenticate with the server that hosts them.
Repositories - Composer
Composer will correctly pick your package over the original one since the custom repository has priority over packagist. If you want to rename the package, you should do so in the default …