composer / package-versions-deprecated
Composer plugin that provides efficient querying for installed package versions (no runtime IO)
Fund package maintenance!
packagist.com
Tidelift
composer
Installs: 19 420 865
Dependents: 174
Suggesters: 0
Security: 0
Stars: 732
Watchers: 4
Forks: 62
Open Issues: 0
Type:composer-plugin
Requires
- php: ^7 || ^8
- composer-plugin-api: ^1.1.0 || ^2.0
Requires (Dev)
- ext-zip: ^1.13
- composer/composer: ^1.9.3 || ^2.0@dev
- phpunit/phpunit: ^6.5 || ^7
Replaces
- ocramius/package-versions: 1.11.99
README
composer/package-versions-deprecated
is a fully-compatible fork of ocramius/package-versions
which provides compatibility with Composer 1 and 2 on PHP 7+. It replaces ocramius/package-versions so if you have a dependency requiring it and you want to use Composer v2 but can not upgrade to PHP 7.4 just yet, you can require this package instead.
If you have a direct dependency on ocramius/package-versions, we recommend instead that once you migrated to Composer 2 you also migrate to use the Composer\InstalledVersions
class which offers the functionality present here out of the box.