NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #1255 most downloaded on Packagist
Provides efficient querying for installed package versions (no runtime IO)
Last release 4 months ago
21 May 2026
Ships fairly regularly
a new release about every 6 months
Some releases are documented
notes for 21 of 43 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
43 releases · first in 2016
Total pull requests resolved: 3
Feature release (minor)
One column per quarter.
Total pull requests resolved: 4
Feature release (minor)
Total pull requests resolved: 4
Feature release (minor)
Total pull requests resolved: 2
Feature release (minor)
Feature release (minor)
Total pull requests resolved: 4
Feature release (minor)
Total pull requests resolved: 6
Feature release (minor)
Total pull requests resolved: 11
Feature release (minor)
Total pull requests resolved: 1
2.5.x bugfix release (patch)
Nothing published for this version
Total pull requests resolved: 1
2.4.x bugfix release (patch)
Nothing published for this version
Total pull requests resolved: 1
Total pull requests resolved: 1
.gitattributes to avoid exporting phpcs artifacts thanks to @reedyNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
155: BC break: removed deprecated `PackageVersions\Versions::ROOT_PACKAGE_NAME` constant thanks to @Ocramius
This release turns the package into a library (previously, it was a composer plugin).
Relevant change is that the PackageVersions\Versions::ROOT_PACKAGE_NAME
constant no longer exists: please use PackageVersions\Versions::rootPackageName()
instead.
This slims down the complexity of the package massively, and removes multiple known bugs.
Total issues resolved: 5
src/Packages/Versions.php changes detected in composer install thanks to @TaluuPackageVersions\Versions::ROOT_PACKAGE_NAME constant thanks to @OcramiusNothing published for this version
Nothing published for this version
Introduced release automation tooling, which should also help us with keeping the changelog up-to-date long-term.
Introduced release automation tooling, which should also help us with keeping the changelog up-to-date long-term.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
This release fixes a bug that caused PackageVersions to prevent the composer remove and composer update commands to fail when this package is removed.
This release fixes a bug that caused PackageVersions to prevent
the composer remove and composer update commands to fail when
this package is removed.
In addition to that, mutation testing has been added to the suite, ensuring that the package is accurately and extensively tested.
Total issues resolved: 3
This release fixes a bug that caused PackageVersions to be enabled even when it was part of a globally installed package.
This release fixes a bug that caused PackageVersions to be enabled even when it was part of a globally installed package.
Total issues resolved: 3
This release removes the `"files"` directive from `composer.json`, as it is no longer needed for composer install --classmap-authoritative. Also, that
This release removes the "files" directive from
composer.json,
as it is no longer needed for composer install --classmap-authoritative.
Also, that directive was causing issues with HHVM installations, since
PackageVersions is not compatible with it.
Total issues resolved: 1
This release introduces support for running composer install --classmap-authoritative and composer install --no-scripts. Please note that performance
This release introduces support for running composer install --classmap-authoritative
and composer install --no-scripts. Please note that performance
while using these modes may be degraded, but the package will
still work.
Additionally, the package was tuned to prevent the plugin from running twice at installation.
Total issues resolved: 10
This release includes a fix/workaround for composer/composer#5237, which causes ocramius/package-versions to sometimes generate a Versions class with
This release includes a fix/workaround for composer/composer#5237,
which causes ocramius/package-versions to sometimes generate a
Versions class with malformed name (something like
Versions_composer_tmp0) when running composer require <package-name>.
Total issues resolved: 2
This release fixes an issue related to concurrent autoloader re-generation caused by multiple composer plugins being installed. The issue was solved b
This release fixes an issue related to concurrent autoloader re-generation caused by multiple composer plugins being installed. The issue was solved by removing autoloader re-generation from this package, but it may still affect other packages.
It is now recommended that you run composer dump-autoload --optimize
after installation when using this particular package.
Please note that composer (install|update) -o is not sufficient
to avoid autoload overhead when using this particular package.
Total issues resolved: 1
This release fixes issues related to installing the component without any dev dependencies or with packages that don't have a source or dist reference
This release fixes issues related to installing the component without
any dev dependencies or with packages that don't have a source or dist
reference, which is usual with packages defined directly in the
composer.json.
Total issues resolved: 3
This release fixes an issue related with composer updates to already installed versions. Using composer require within a package that already used ocr
This release fixes an issue related with composer updates to
already installed versions.
Using composer require within a package that already used
ocramius/package-versions caused the installation to be unable
to write the PackageVersions\Versions class to a file.
Total issues resolved: 6
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →