Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

composer

> 包管理
Open source

Dependency Manager for PHP

29.5K stars0 likes2 views
WebsiteGitHub

About

Dependency Manager for PHP

Dependency Management for PHP

Composer helps you declare, manage, and install dependencies of PHP projects. See [https://getcomposer.org/](https://getcomposer.org/) for more information and documentation. Installation / Usage -------------------- Download and install Composer by following the [official instructions](https://getcomposer.org/download/). For usage, see [the documentation](https://getcomposer.org/doc/). Packages -------- Find public packages on [Packagist.org](https://packagist.org). For private package hosting take a look at [Private Packagist](https://packagist.com). Community --------- Follow [@packagist](https://X.com/packagist) or [@seldaek](https://X.com/seldaek) on X for announcements, or check the [#composerphp](https://X.com/search?q=%23composerphp&src=typed_query&f=live) hashtag. For support, Stack Overflow offers a good collection of [Composer related questions](https://stackoverflow.com/questions/tagged/composer-php), or you can use the [GitHub discussions](https://github.com/composer/composer/discussions). Please note that this project is released with a [Contributor Code of Conduct](https://www.contributor-covenant.org/version/1/4/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`](https://www.php.net/manual/en/zip.installation.php) extension is available, only `git` is needed, but this is not recommended. Authors ------- - Nils Adermann | [GitHub](https://github.com/naderman) | [X](https://X.com/naderman) | | [naderman.de](https://naderman.de) - Jordi Boggiano | [GitHub](https://github.com/Seldaek) | [X](https://X.com/seldaek) | | [seld.be](https://seld.be) See also the list of [contributors](https://github.com/composer/composer/contributors) who participated in this project. Security Reports ---------------- Please send any sensitive issue to [[email protected]](mailto:[email protected]). Thanks! Sponsors -------- Thank you to our sponsors for supporting the ongoing development and maintenance of Composer and Packagist.org! See [getcomposer.org/sponsor](https://getcomposer.org/sponsor/) for more information on becoming a sponsor.

License ------- Composer is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. Acknowledgments --------------- - This project's Solver started out as a PHP port of openSUSE's [Libzypp satsolver](https://en.opensuse.org/openSUSE:Libzypp_satsolver).

Issues· 155 open

View all issuesOpen on GitHub
  • #13084

    Share the repeated-warning dedup from CurlDownloader with the other outputWarnings() callers

    Updated Sep 25, 2026
  • #12987

    Performance: Composer attempts HTTP/3, even against servers that don't support it, including repo.packagist.org

    Updated Sep 24, 2026
  • #13047

    Merge conflict marker in composer.lock causes autoload.php file to contain invalid php syntax after composer install

    Updated Sep 22, 2026
  • #12889

    Source fallback removal - unable to use dist (firewall blocks zip files)

    Updated Sep 21, 2026
  • #13078

    ssh/git user stripped from repo address on private satis+forge deps

    Updated Sep 18, 2026
  • #12992

    Err when providing non-installed package name to `suggest`

    Updated Sep 15, 2026
  • #12984

    GitLab CI_JOB_TOKEN + internal package does not work - but works with `source-fallback`

    Updated Sep 15, 2026
  • #13065

    Які статистичні показники допомагають оцінити майбутній матч

    Updated Sep 10, 2026
  • #12908

    Clear cached file marked as malware

    Updated Sep 6, 2026
  • #13038

    Options don't get passed to scripts as additional arguments

    Updated Aug 19, 2026

> Tags

PHPcomposerdependency-managerpackage-managerpackages

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 30, 2026
Category包管理
PricingOpen source

> Related tools

N
npm
Node.js 默认包管理器
P
pnpm
高效节省磁盘的 Node 包管理器
I
is-gif
Check if a Buffer/Uint8Array is a GIF image