1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
<p align="center">
<a href="https://getcomposer.org">
<img src="https://getcomposer.org/img/logo-composer-transparent.png" alt="Composer">
</a>
</p>
<h1 align="center">Dependency Management for PHP</h1>
Composer helps you declare, manage, and install dependencies of PHP projects.
See [https://getcomposer.org/](https://getcomposer.org/) for more information and documentation.
[](https://github.com/composer/composer/actions/workflows/continuous-integration.yml?query=branch%3Amain)
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://twitter.com/packagist) or [@seldaek](https://twitter.com/seldaek) on Twitter for announcements, or check the [#composerphp](https://twitter.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) | [Twitter](https://twitter.com/naderman) | <naderman@naderman.de> | [naderman.de](https://naderman.de)
- Jordi Boggiano | [GitHub](https://github.com/Seldaek) | [Twitter](https://twitter.com/seldaek) | <j.boggiano@seld.be> | [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 [security@packagist.org](mailto:security@packagist.org). Thanks!
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).
|