PackageTrack
Sign in Get early access

ocramius/package-versions

Provides efficient querying for installed package versions (no runtime IO)

2.12.0 76M downloads/mo #1048 most downloaded on Packagist Ocramius/PackageVersions

What this package is like to depend on

Last release 3 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

2 releases in the last 12 months

see the full history below

Release timeline

43 releases · Jan 2016 to May 2026
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 43
  1. 2.12.0 21 May 2026
    Release notes

    2.12.0 - 2026-05-21


    Release Notes for 2.12.0

    Feature release (minor)

    2.12.0

    • Total issues resolved: 0
    • Total pull requests resolved: 3
    • Total contributors: 1

    dependencies,enhancement,renovate

    renovate

    Open source →
    Release notes

    Release Notes for 2.12.0

    Feature release (minor)

    2.12.0

    • Total issues resolved: 0
    • Total pull requests resolved: 3
    • Total contributors: 1

    dependencies,enhancement,renovate

    renovate

    Open source →
  2. 2.11.0 27 Nov 2025
    Release notes

    2.11.0 - 2025-11-27


    Release Notes for 2.11.0

    Feature release (minor)

    2.11.0

    • Total issues resolved: 0
    • Total pull requests resolved: 4
    • Total contributors: 2

    dependencies,enhancement

    renovate

    Open source →
    Release notes

    Release Notes for 2.11.0

    Feature release (minor)

    2.11.0

    • Total issues resolved: 0
    • Total pull requests resolved: 4
    • Total contributors: 2

    dependencies,enhancement

    renovate

    Open source →
  3. 2.10.0 05 Feb 2025
    Release notes

    2.10.0 - 2025-02-05


    Release Notes for 2.10.0

    Feature release (minor)

    2.10.0

    • Total issues resolved: 0
    • Total pull requests resolved: 4
    • Total contributors: 1

    renovate

    Open source →
    Release notes

    Release Notes for 2.10.0

    Feature release (minor)

    2.10.0

    • Total issues resolved: 0
    • Total pull requests resolved: 4
    • Total contributors: 1

    renovate

    Open source →
  4. 2.9.0 04 Aug 2024
    Release notes

    2.9.0 - 2024-08-04


    Release Notes for 2.9.0

    Feature release (minor)

    2.9.0

    • Total issues resolved: 0
    • Total pull requests resolved: 2
    • Total contributors: 2

    dependencies,enhancement

    security

    Open source →
    Release notes

    Release Notes for 2.9.0

    Feature release (minor)

    2.9.0

    • Total issues resolved: 0
    • Total pull requests resolved: 2
    • Total contributors: 2

    dependencies,enhancement

    security

    Open source →
  5. 2.8.0 15 Sep 2023
    Release notes

    2.8.0 - 2023-09-15


    Release Notes for 2.8.0

    Feature release (minor)

    2.8.0

    • Total issues resolved: 0
    • Total pull requests resolved: 4
    • Total contributors: 2

    enhancement

    renovate

    Open source →
    Release notes

    Release Notes for 2.8.0

    Feature release (minor)

    2.8.0

    • Total issues resolved: 0
    • Total pull requests resolved: 4
    • Total contributors: 2

    enhancement

    renovate

    Open source →
  6. 2.7.0 31 Oct 2022
    Release notes

    2.7.0 - 2022-10-31


    Release Notes for 2.7.0

    Feature release (minor)

    2.7.0

    • Total issues resolved: 0
    • Total pull requests resolved: 6
    • Total contributors: 2

    dependencies

    renovate

    security

    enhancement

    Open source →
    Release notes

    Release Notes for 2.7.0

    Feature release (minor)

    2.7.0

    • Total issues resolved: 0
    • Total pull requests resolved: 6
    • Total contributors: 2

    dependencies

    renovate

    security

    enhancement

    Open source →
  7. 2.6.0 10 Oct 2022
    Release notes Open source →
  8. 2.5.1 05 Mar 2022
    Release notes

    Release Notes for 2.5.1

    2.5.x bugfix release (patch)

    2.5.1

    • Total issues resolved: 0
    • Total pull requests resolved: 1
    • Total contributors: 1

    enhancement,help wanted

    Open source →
  9. 2.5.0 22 Dec 2021

    Nothing published for this version

  10. 2.4.1 05 Mar 2022
    Release notes

    Release Notes for 2.4.1

    2.4.x bugfix release (patch)

    2.4.1

    • Total issues resolved: 0
    • Total pull requests resolved: 1
    • Total contributors: 1

    enhancement,help wanted

    Open source →
  11. 2.4.0 19 Sep 2021

    Nothing published for this version

  12. 2.3.1 05 Mar 2022
    Release notes

    2.3.1 - 2022-03-05


    Release Notes for 2.3.1

    2.3.1

    • Total issues resolved: 0
    • Total pull requests resolved: 1
    • Total contributors: 1

    enhancement,help wanted

    Open source →
  13. 2.3.0 23 Dec 2020
    Release notes

    Release Notes for 2.3.0

    2.3.0

    • Total issues resolved: 0
    • Total pull requests resolved: 1
    • Total contributors: 1

    enhancement

    Open source →
  14. 2.2.1 05 Mar 2022

    Nothing published for this version

  15. 2.2.0 21 Oct 2020

    Nothing published for this version

  16. 2.1.1 05 Mar 2022

    Nothing published for this version

  17. 2.1.0 21 Oct 2020

    Nothing published for this version

  18. 2.0.1 05 Mar 2022

    Nothing published for this version

  19. 2.0.0 21 Aug 2020
    Release notes

    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

    Open source →
  20. 1.11.0 21 Aug 2020

    Nothing published for this version

  21. 1.10.2 18 Aug 2020

    Nothing published for this version

  22. 1.10.1 18 Aug 2020
    Release notes

    Introduced release automation tooling, which should also help us with keeping the changelog up-to-date long-term.

    Open source →
  23. 1.10.0 11 Jul 2020

    Nothing published for this version

  24. 1.9.0 22 Jun 2020

    Nothing published for this version

  25. 1.8.0 06 Apr 2020

    Nothing published for this version

  26. 1.7.0 06 Mar 2020

    Nothing published for this version

  27. 1.6.0 05 Mar 2020

    Nothing published for this version

  28. 1.5.1 17 Jul 2019

    Nothing published for this version

  29. 1.5.0 17 Jul 2019

    Nothing published for this version

  30. 1.4.2 15 Nov 2019

    Nothing published for this version

  31. 1.4.1 14 Nov 2019

    Nothing published for this version

  32. 1.4.0 21 Feb 2019

    Nothing published for this version

  33. 1.3.0 05 Feb 2018

    Nothing published for this version

  34. 1.2.0 24 Nov 2017

    Nothing published for this version

  35. 1.1.3 06 Sep 2017
    Release notes

    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

    Open source →
  36. 1.1.2 30 Dec 2016
    Release notes

    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

    Open source →
  37. 1.1.1 25 Jul 2016
    Release notes

    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

    Open source →
  38. 1.1.0 22 Jul 2016
    Release notes Open source →
  39. 1.0.4 23 Apr 2016
    Release notes

    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

    Open source →
  40. 1.0.3 26 Feb 2016
    Release notes

    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

    Open source →
  41. 1.0.2 24 Feb 2016
    Release notes

    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

    Open source →
  42. 1.0.1 02 Feb 2016
    Release notes

    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

    Open source →
  43. 1.0.0 25 Jan 2016

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive