composer / package-versions-deprecated

:package: Composer addon to efficiently get installed packages' version numbers
MIT License
1.51k stars 9 forks source link

PHP ^5.3.2 compatible version? #4

Closed andrerom closed 4 years ago

andrerom commented 4 years ago

As Composer 2.x aims to support PHP 5.3 and higher, there needs to be a version of this package that support those PHP ^5.3.2 versions as well if we want reach those users.

Current code here is requiring "php": "^7".

nicolas-grekas commented 4 years ago

No version of Ocramius/PackageVersions ever supported PHP < 7. Since this package aims to "replace" it, there's no point IMHO to this request: projects that want to support PHP 5.3 and also want to get access to versions info should use the Composer\InstalledVersions class provided by Composer 2 instead.

andrerom commented 4 years ago

It seems you are correct ;) (it was provided as dev-master for older PHP versions for a while, but it seems we never used that on the branches we have that needs to support PHP 5.6 still)