Dependency Manager for PHP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jordi Boggiano 8536a2ca80
Merge branch '2.3'
2 days ago
.github Build releases with 8.1 6 days ago
bin Allow autoload to run on 5.6 still, add early exits when running composer or autoload.php with outdated PHP versions, fixes #10714, refs #10709 3 months ago
doc Merge branch '2.3' 2 days ago
phpstan Update phpstan to latest, update baseline (1909, 103) 1 week ago
res Merge branch '2.2' into 2.3 1 month ago
src Merge branch '2.3' 2 days ago
tests Merge branch '2.3' 2 days ago
.editorconfig Enhancement: Add .editorconfig 4 years ago
.gitattributes Include phpstan rules file, closes #10813 1 month ago
.gitignore Upgrade php-cs-fixer to 3.x and fix CS 8 months ago
.php-cs-fixer.php Add upcoming fixes, refs #10871 2 weeks ago Merge branch '2.2' into 2.3 2 days ago Add coc file to appease the github UI 2 years ago
LICENSE lets avoid silly commits in the future 6 years ago
PORTING_INFO Import initial partial port of the libzypp satsolver. 11 years ago Slightly more detailed PHP requirements 4 months ago Escape special characters in Markdown files 2 years ago
composer.json Make use of new composer/class-map-generator package and build up BC layer 3 weeks ago
composer.lock Update phpstan to latest, update baseline (1909, 103) 1 week ago
phpunit.xml.dist Upgrade phpunit configs 2 months ago

Composer - Dependency Management for PHP

Composer helps you declare, manage, and install dependencies of PHP projects.

See for more information and documentation.

Continuous Integration

Installation / Usage

Download and install Composer by following the official instructions.

For usage, see the documentation.


Find public packages on For private package hosting take a look at Private Packagist.


Follow @packagist or @seldaek on Twitter for announcements, or check the #composerphp hashtag.

For support, Stack Overflow offers a good collection of Composer related questions, or you can use the GitHub discussions.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project and its community you agree to abide by those terms.


Latest Composer

PHP 7.2.5 or above for the latest version.

Composer 2.2 LTS (Long Term Support)

PHP versions 5.3.2 - 8.1 are still supported via the LTS releases of Composer (2.2.x). If you run the installer or the self-update command the appropriate Composer version for your PHP should be automatically selected.


See also the list of contributors who participated in this project.

Security Reports

Please send any sensitive issue to [email protected]. Thanks!


Composer is licensed under the MIT License - see the LICENSE file for details.