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.5 1 month and 1 week ago
(20 Dec 2022)
Yes 2.5.1
(22 Dec 2022)
2.4 5 months and 2 weeks ago
(16 Aug 2022)
Ended 1 month and 1 week ago
(20 Dec 2022)
2.4.4
2.3 10 months ago
(30 Mar 2022)
Ended 5 months and 2 weeks ago
(16 Aug 2022)
2.3.10
2.2 (LTS) 1 year ago
(22 Dec 2021)
Ends in 11 months
(31 Dec 2023)
2.2.18
(20 Aug 2022)
1 6 years and 10 months ago
(05 Apr 2016)
Ended 2 years and 3 months 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 information. You can subscribe to the iCalendar feed at /calendar/composer.ics.

This page was last updated on 23 December 2022. Latest releases are automatically updated.