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.
Ion Bazan 8ff237afb6
[Tests] Use static data providers (#11197)
4 days ago
.github Merge branch '2.4' 1 month 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 8 months ago
doc Update (#11187) 2 weeks ago
phpstan Update to PHPStan 1.9 4 weeks ago
res Added token refresh for GitLab to support GitLab 15+ (#10988) 3 months ago
src Make possible return type in `IOInterface::select()` more explicit (#11171) 4 days ago
tests [Tests] Use static data providers (#11197) 4 days ago
.editorconfig Enhancement: Add .editorconfig 4 years ago
.gitattributes Include phpstan rules file, closes #10813 6 months ago
.gitignore Upgrade php-cs-fixer to 3.x and fix CS 1 year ago
.php-cs-fixer.php Fix CS (#11003) 3 months ago changelog fixes 1 month ago Update Code of Conduct to Contributor Covenant v2.1 (#11161) 4 weeks ago
LICENSE lets avoid silly commits in the future 6 years ago
PORTING_INFO Import initial partial port of the libzypp satsolver. 12 years ago Adding logo to README (#11147) 1 month ago Escape special characters in Markdown files 2 years ago
composer.json Update to composer/pcre 2.1 (#11189) 2 weeks ago
composer.lock Update to composer/pcre 2.1 (#11189) 2 weeks ago
phpunit.xml.dist Upgrade phpunit configs 7 months ago


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.