amazon-linux-2023 icon indicating copy to clipboard operation
amazon-linux-2023 copied to clipboard

[Package Update Request] - Composer

Open seastland opened this issue 8 months ago • 3 comments

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)

seastland avatar Apr 07 '25 20:04 seastland

Thanks, I've forwarded this to the relevant team

ozbenh avatar Apr 08 '25 02:04 ozbenh

@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

bhatiayash avatar Jun 03 '25 20:06 bhatiayash

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.

SreeSunku avatar Jul 28 '25 19:07 SreeSunku