📦composer / composer
← 返回首页
Dependency Manager for PHP
⚖️ MIT#php#composer#dependency-manager#package-manager#packages🌐 getcomposer.org📅 创建于 2011-06-08🔄 更新于 2026-10-30

📄 仓库 README

在 GitHub 查看 ↗
来自 GitHub 仓库自述文件 · 版权归原作者所有

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 X 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

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

The need for these binary dependencies may vary depending on individual use cases. For most users, only 2 dependencies are essential for Composer: unzip (or 7z/7zz), and git. If the ext-zip extension is available, only git is needed, but this is not recommended.

Authors

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

Security Reports

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

Sponsors

Thank you to our sponsors for supporting the ongoing development and maintenance of Composer and Packagist.org! See getcomposer.org/sponsor for more information on becoming a sponsor.

Private Packagist Aikido Sovereign Tech Fund

AWS Socket Upsun

Sonatype Bunny.net Tideways

Datadog Algolia Sentry

License

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

Acknowledgments

📈 近 7 天 Star 趋势

每日新增 Star(柱)与累计 Star(线)· 数据来自 GitHub

🏆 排名变化趋势

在各榜单中的排名历史(数字越小越靠前)

📋 历史上榜记录

每次快照的详细数据
日期 榜单 排名 周期新增 总 STAR