How to install php-composer-semver on Amazon Linux
Semver library version 1
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | noarch | Version |
|---|---|---|---|
| Amazon Linux 2 | Base | 1.7.1 |
Description
Semver library version 1 that offers utilities, version constraint parsing and validation. Originally written as part of composer/composer, now extracted and made available as a stand-alone library. Autoloader: /usr/share/php/Composer/Semver/autoload.php
Built for Amazon Linux.
Install
Base
Amazon Linux 2
php-composer-semver on Amazon Linux 2
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install php-composer-semver
Package downloads require an active GetPageSpeed subscription — one repository for php-composer-semver and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install php-composer-semver on Amazon Linux?
Add the GetPageSpeed repository, then install the php-composer-semver package with your system package manager.
Which Amazon Linux versions is php-composer-semver available for?
php-composer-semver is available for Amazon Linux 2.