PHPackages                             composer/composer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. composer/composer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

composer/composer
=================

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

2.9.5(3mo ago)29.4k187.2M—6.1%4.8k[115 issues](https://github.com/composer/composer/issues)[21 PRs](https://github.com/composer/composer/pulls)20MITPHPPHP ^7.2.5 || ^8.0CI passing

Since Mar 1Pushed today588 watchersCompare

[ Source](https://github.com/composer/composer)[ Packagist](https://packagist.org/packages/composer/composer)[ Docs](https://getcomposer.org/)[ Fund](https://packagist.com)[ GitHub Sponsors](https://github.com/composer)[ RSS](/packages/composer-composer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (27)Versions (231)Used By (20)Security (9)

 [ ![Composer](https://camo.githubusercontent.com/3dd157ffbaead04815b962bc6e34883b5837ab8c44980ebeef94b144a13895b5/68747470733a2f2f676574636f6d706f7365722e6f72672f696d672f6c6f676f2d636f6d706f7365722d7472616e73706172656e742e706e67) ](https://getcomposer.org)

Dependency Management for PHP
=============================

[](#dependency-management-for-php)

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

See  for more information and documentation.

[![Continuous Integration](https://github.com/composer/composer/actions/workflows/continuous-integration.yml/badge.svg?branch=main)](https://github.com/composer/composer/actions/workflows/continuous-integration.yml?query=branch%3Amain)

Installation / Usage
--------------------

[](#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
--------

[](#packages)

Find public packages on [Packagist.org](https://packagist.org).

For private package hosting take a look at [Private Packagist](https://packagist.com).

Community
---------

[](#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
------------

[](#requirements)

#### Latest Composer

[](#latest-composer)

PHP 7.2.5 or above for the latest version.

#### Composer 2.2 LTS (Long Term Support)

[](#composer-22-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

[](#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
-------

[](#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
----------------

[](#security-reports)

Please send any sensitive issue to . Thanks!

License
-------

[](#license)

Composer is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

Acknowledgments
---------------

[](#acknowledgments)

- This project's Solver started out as a PHP port of openSUSE's [Libzypp satsolver](https://en.opensuse.org/openSUSE:Libzypp_satsolver).

###  Health Score

88

—

ExcellentBetter than 100% of packages

Maintenance91

Actively maintained with recent releases

Popularity93

Widely adopted with strong download metrics

Community73

Healthy contributor diversity

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 75.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~22 days

Total

227

Last Release

61d ago

Major Versions

1.10.23 → 2.1.92021-10-05

1.10.24 → 2.2.02021-12-22

1.10.25 → 2.2.52022-01-21

1.10.26 → 2.2.122022-04-13

1.10.27 → 2.2.222023-09-29

PHP version history (5 changes)1.0.0-alpha1PHP &gt;=5.3.0

1.0.0-alpha2PHP &gt;=5.3.2

1.0.0-alpha11PHP ^5.3.2 || ^7.0

2.0.0-alpha2PHP ^5.3.2 || ^7.0 || ^8.0

2.3.0-RC1PHP ^7.2.5 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/b69782e1d7f426ef78f61d159c466a536372eff931f13981ac578fa3f4649352?d=identicon)[Seldaek](/maintainers/Seldaek)

![](https://www.gravatar.com/avatar/7b53fd135df4732d40488c0394fae263e128283081f2b833e3dc0a780b4b900d?d=identicon)[naderman](/maintainers/naderman)

---

Top Contributors

[![Seldaek](https://avatars.githubusercontent.com/u/183678?v=4)](https://github.com/Seldaek "Seldaek (7598 commits)")[![naderman](https://avatars.githubusercontent.com/u/154844?v=4)](https://github.com/naderman "naderman (800 commits)")[![alcohol](https://avatars.githubusercontent.com/u/21414?v=4)](https://github.com/alcohol "alcohol (305 commits)")[![igorw](https://avatars.githubusercontent.com/u/88061?v=4)](https://github.com/igorw "igorw (117 commits)")[![glaubinix](https://avatars.githubusercontent.com/u/442056?v=4)](https://github.com/glaubinix "glaubinix (108 commits)")[![curry684](https://avatars.githubusercontent.com/u/1455673?v=4)](https://github.com/curry684 "curry684 (90 commits)")[![johnstevenson](https://avatars.githubusercontent.com/u/881777?v=4)](https://github.com/johnstevenson "johnstevenson (86 commits)")[![till](https://avatars.githubusercontent.com/u/27003?v=4)](https://github.com/till "till (81 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (70 commits)")[![staabm](https://avatars.githubusercontent.com/u/120441?v=4)](https://github.com/staabm "staabm (66 commits)")[![hason](https://avatars.githubusercontent.com/u/288535?v=4)](https://github.com/hason "hason (59 commits)")[![Toflar](https://avatars.githubusercontent.com/u/481937?v=4)](https://github.com/Toflar "Toflar (59 commits)")[![cs278](https://avatars.githubusercontent.com/u/17377?v=4)](https://github.com/cs278 "cs278 (57 commits)")[![digitalkaoz](https://avatars.githubusercontent.com/u/293591?v=4)](https://github.com/digitalkaoz "digitalkaoz (55 commits)")[![simensen](https://avatars.githubusercontent.com/u/191200?v=4)](https://github.com/simensen "simensen (54 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (44 commits)")[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (43 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (43 commits)")[![everzet](https://avatars.githubusercontent.com/u/30813?v=4)](https://github.com/everzet "everzet (40 commits)")[![padraic](https://avatars.githubusercontent.com/u/19780?v=4)](https://github.com/padraic "padraic (38 commits)")

---

Tags

composerdependency-managerpackage-managerpackagesphpdependencypackageautoload

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/composer-composer/health.svg)

```
[![Health](https://phpackages.com/badges/composer-composer/health.svg)](https://phpackages.com/packages/composer-composer)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k234.7M20.6k](/packages/friendsofphp-php-cs-fixer)[infection/infection

Infection is a Mutation Testing framework for PHP. The mutation adequacy score can be used to measure the effectiveness of a test set in terms of its ability to detect faults.

2.2k26.2M1.8k](/packages/infection-infection)[humbug/box

Fast, zero config application bundler with PHARs.

1.3k801.5k69](/packages/humbug-box)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[oxid-esales/oxideshop-metapackage-ce

This is OXID eShop compilation metapackage.

12482.3k21](/packages/oxid-esales-oxideshop-metapackage-ce)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
