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.
Go to file
Marc Würth da83d29d8a
"URL" in caps (#11706)
4 weeks ago
.github Bump actions/checkout from 3 to 4 (#11621) 3 months ago
bin Merge pull request from GHSA-jm6m-4632-36hf 2 months ago
doc "URL" in caps (#11706) 4 weeks ago
phpstan Update baseline (1689, 92) 3 months ago
res Add support for "scripts-aliases" in composer.json (#11666) 1 month ago
src Add support for "scripts-aliases" in composer.json (#11666) 1 month ago
tests Add support for "scripts-aliases" in composer.json (#11666) 1 month ago
.editorconfig Enhancement: Add .editorconfig 5 years ago
.gitattributes chore: remove `composer.lock` from `.gitattributes` (#11674) 2 months ago
.gitignore Adds .vscode dir to gitignore file (#11524) 5 months ago
.php-cs-fixer.php Fix CS (#11003) 1 year ago
CHANGELOG.md Update changelog 2 months ago
CODE_OF_CONDUCT.md Update Code of Conduct to Contributor Covenant v2.1 (#11161) 1 year ago
LICENSE lets avoid silly commits in the future 7 years ago
PORTING_INFO Import initial partial port of the libzypp satsolver. 13 years ago
README.md docs: add binary dependencies (#11505) 5 months ago
UPGRADE-2.0.md Escape special characters in Markdown files 3 years ago
composer.json Bump dev version to 2.7, fix issues with symfony 7 1 month ago
composer.lock Update lock hash 1 month ago
phpunit.xml.dist Exclude PHPStan extensions from PHPUnit coverage 11 months ago

README.md

Composer

Dependency Management for PHP

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

See https://getcomposer.org/ for more information and documentation.

Continuous Integration

Installation / Usage

Download and install Composer by following the official instructions.

For usage, see the documentation.

Packages

Find public packages on Packagist.org.

For private package hosting take a look at Private Packagist.

Community

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.

Requirements

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.

Binary dependencies

  • 7z (or 7zz)
  • unzip (if 7z is missing)
  • gzip
  • tar
  • unrar
  • xz
  • Git (git)
  • Mercurial (hg)
  • Fossil (fossil)
  • Perforce (p4)
  • Subversion (svn)

It's important to note that the need for these binary dependencies may vary depending on individual use cases. However, for most users, only 2 dependencies are essential for Composer: 7z (or 7zz or unzip), and git.

Authors

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

Security Reports

Please send any sensitive issue to security@packagist.org. Thanks!

License

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

Acknowledgments