Composer helps you declare, manage, and install dependencies of PHP projects.
See https://getcomposer.org/ for more information and documentation.
Download and install Composer by following the official instructions.
For usage, see the documentation.
Find public packages on Packagist.org.
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.
PHP 7.2.5 or above for the latest version.
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.
7z
(or 7zz
)unzip
(if 7z
is missing)gzip
tar
unrar
xz
git
)hg
)fossil
)p4
)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
.
See also the list of contributors who participated in this project.
Please send any sensitive issue to security@packagist.org. Thanks!
Composer is licensed under the MIT License - see the LICENSE file for details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。