Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Package Request] - Composer #371

Closed
jacques opened this issue Jun 10, 2023 · 4 comments
Closed

[Package Request] - Composer #371

jacques opened this issue Jun 10, 2023 · 4 comments
Labels
enhancement New feature or request packages Package request pending Will be addressed with an upcoming release
Milestone

Comments

@jacques
Copy link

jacques commented Jun 10, 2023

What package is missing from Amazon Linux 2023? Please describe and include package name.

composer - installs and updates dependencies for PHP applications which it fetches from various sources (git repos, zip files from htttps, etc.).

Is this an update to existing package or new package request?

No.

Is this package available in Amazon Linux 2? If it is available via external sources such as EPEL, please specify.

Yes on the older Amazon Linux 2 instance:

# yum search composer
Failed to set locale, defaulting to C
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
293 packages excluded due to repository priority protections
================================================================================= N/S matched: composer =================================================================================
php-composer-installers.noarch : A multi-framework Composer library installer
composer.noarch : Dependency Manager for PHP
php-composer-ca-bundle.noarch : Lets you find a path to the system CA
php-composer-semver.noarch : Semver library version 1
php-composer-semver3.noarch : Semver library version 3
php-composer-spdx-licenses.noarch : SPDX licenses list and validation library
php-composer-xdebug-handler.noarch : Restarts a process without Xdebug
python2-fedmsg-atomic-composer.noarch : Composes atomic trees when Fedora repositories are updated

  Name and summary matches only, use "search all" for everything.

Any additional information you'd like to include. (use-cases, etc)

Composer is used to install dependencies for php applications.

@nmeyerhans nmeyerhans added the packages Package request label Jun 15, 2023
@jacques
Copy link
Author

jacques commented Jul 23, 2023

Just adding a note here that #320 Is a dependency for this ticket as composer requires the php zip extension.

@BernardRobbins
Copy link

Following these instructions should get you by: https://getcomposer.org/download/
Composer version 2.5.8 2023-06-09 17:13:21 is running on mine.

@YoannChabert
Copy link

YoannChabert commented Sep 9, 2023

You can find it like that

$ /usr/bin/composer.phar --version
Composer version 2.6.2 2023-09-03 14:09:15

@stewartsmith stewartsmith added the pending Will be addressed with an upcoming release label Sep 9, 2023
@stewartsmith stewartsmith added the enhancement New feature or request label Sep 20, 2023
@stewartsmith stewartsmith added this to the AL2023.2 milestone Sep 20, 2023
@stewartsmith
Copy link
Member

You can now install composer directly from the Amazon Linux 2023 repositories. The required PHP modules are in our PHP 8.2 packages, so there's currently the restriction of it needing PHP8.2 (we should be able to address this in a future release).

The AL2023.2 release notes will be up shortly mentioning this.

It appears that this package was in EPEL rather than Amazon Linux 2, so I'm happy to say that this is the first time that Amazon Linux is shipping Composer!

@stewartsmith stewartsmith moved this from Coming soon to Just shipped in Amazon Linux 2023 Feature Backlog Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request packages Package request pending Will be addressed with an upcoming release
Development

No branches or pull requests

5 participants