Link Search Menu Expand Document

Composer is a package manager that is commonly used to manage libraries and other dependencies for PHP projects.

Release Released Security Support Latest
2.4 4 months ago
(16 Aug 2022)
Yes 2.4.4
(27 Oct 2022)
2.3 8 months ago
(30 Mar 2022)
Ended 4 months ago
(16 Aug 2022)
2.3.10
2.2 (LTS) 12 months ago
(22 Dec 2021)
Ends in 1 year
(31 Dec 2023)
2.2.18
(20 Aug 2022)
1 6 years and 8 months ago
(05 Apr 2016)
Ended 2 years ago
(24 Oct 2020)
1.10.26

While it still receives critical fixes from time to time, Composer 1.x is mostly EOL and the developers urge everyone to switch to Composer 2.x.

Packagist (the main Composer repository) still supports Composer 1.x metadata for now but with a few caveats.

PHP Support

Composer Version PHP Version
2.3+ >=7.2.5
2.2 (LTS) >=5.3.2

You should be running one of the supported release numbers listed above in the rightmost column.

You can check the version that you are currently using by running:
composer --version

You can submit an improvement to this page on GitHub :octocat: . This page has a corresponding Talk Page.

A JSON version of this page is available at /api/composer.json. See the API Documentation for more.

This page was last updated on 10 November 2022. Latest releases are automatically updated.