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: 157 563 779
Dependents: 240
Suggesters: 0
Security: 0
Stars: 1 509
Watchers: 4
Forks: 68
Open Issues: 1
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 that once you migrated to Composer 2.x you also migrate to use the Composer\InstalledVersions
class which offers the functionality present here out of the box. You can then remove the require on this package.
This package is EOL / deprecated and you should aim to migrate away from it as soon as possible!