Download the PHP package einenlum/composer-version-parser without Composer
On this page you can find all versions of the php package einenlum/composer-version-parser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download einenlum/composer-version-parser
More information about einenlum/composer-version-parser
Files in einenlum/composer-version-parser
Download einenlum/composer-version-parser
More information about einenlum/composer-version-parser
Files in einenlum/composer-version-parser
Vendor einenlum
Package composer-version-parser
Short Description A library to extract the potential higher version of a package from Composer requirements
License MIT
Package composer-version-parser
Short Description A library to extract the potential higher version of a package from Composer requirements
License MIT
Please rate this library. Is it a good library?
Informations about the package composer-version-parser
Composer Version Parser
This small library allows to parse the version requirements from a composer.json
file, allowing to get the probable version of a package (useful when no composer.lock
is present).
Examples:
Input | Output |
---|---|
v1.0.* |
1.0 |
1.0.* |
1.0 |
^3.* |
3 |
^3.4.* |
3.4 |
^3.4 |
3 |
^3.4.9 |
3.4 |
~3 |
3 |
~3.4 |
3 |
~3.4.9 |
3.4 |
3 |
3 |
3.4 |
3.4 |
3.4.9 |
3.4.9 |
3.* |
3 |
3.4.* |
3.4 |
v3 |
3 |
v3.4 |
3.4 |
v3.4.9 |
3.4.9 |
v3.* |
3 |
v3.4.* |
3.4 |
* |
null |
More complex cases are not handled for now.
Input | Output |
---|---|
>1.0.* |
null |
>=1.0 |
null |
>=1.0 || 8.* |
null |
>=1.0; <2.0 |
null |
Install
Usage
All versions of composer-version-parser with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
The package einenlum/composer-version-parser contains the following files
Loading the files please wait ....