[Package Update Request] - Composer
What package is missing from Amazon Linux 2023? Please describe and include package name.
Composer 2.5.8 is currently included in AL 2023. This version uses some features and syntax that are deprecated in PHP 8.4. The newest version of Composer is 2.8.8 and resolves compatibility with PHP 8.4.
Is this an update to existing package or new package request?
An update to an existing package
Is this package available in Amazon Linux 2? If it is available via external sources such as EPEL, please specify.
Unknown
Any additional information you'd like to include. (use-cases, etc)
Thanks, I've forwarded this to the relevant team
@seastland
As of this release:
$ cat /etc/amazon-linux-release
Amazon Linux release 2023.7.20250527 (Amazon Linux)
composer 2.8.8 is available:
$ sudo dnf install -y composer
$ rpm -q composer
composer-2.8.8-1.amzn2023.0.1.noarch
$ composer --version
Composer version 2.8.8 2025-04-04 16:56:46
PHP version 8.4.6 (/usr/bin/php)
Additionally, we have added composer-generators that provides RPM generators which are used for getting provides from composer enabled applications.
$ rpm -q composer-generators
composer-generators-0.1.2-1.amzn2023.0.1.noarch
Thank you for your request to add the package in AL2023. We are currently reviewing the feasibility of adding the package and will provide another status update in a few weeks.