PackageTrack
Sign in Get early access

psr/container

Common Container Interface (PHP FIG PSR-11)

2.0.2 1.1B downloads/mo #7 most downloaded on composer php-fig/container

What this package is like to depend on

Last release 5 years ago

no release in 18 months

Release timing varies

gaps range from 3 weeks to 4.1 years

Nearly every release is documented

notes for 7 of 7 stable releases

Nothing withdrawn

no release was ever pulled

10 years old

7 releases · first in 2017

0 releases in the last 12 months

see the full history below

Release timeline

7 releases · Feb 2017 to Nov 2021
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 7
  1. 2.0.2 05 Nov 2021
    Release notes

    Added

    • This release reverts the removal of the previous patch, re-adding the extension of Throwable by Psr\Container\ContainerExceptionInterface; to avoid issues, PHP >= 7.4 is now required
    Open source →
  2. 2.0.1 24 Mar 2021
    Release notes

    Removed

    • This release removes the extension of Throwable by Psr\Container\ContainerInterface, as it leads to inheritance issues when child classes implement the Throwable interface in addition to ContainerInterface under PHP versions prior to 7.4.
    Open source →
  3. 2.0.0 05 Mar 2021
    Release notes

    Changed

    • This release adds the bool return typehint to Psr\Container\ContainerInterface::has(), in accordance with the PSR-11 type additions errata.
    Open source →
  4. 1.1.2 05 Nov 2021
    Release notes

    Added

    • This release reverts the removal of the previous patch, re-adding the extension of Throwable by Psr\Container\ContainerExceptionInterface; to avoid issues, PHP >= 7.4 is now required
    Open source →
  5. 1.1.1 05 Mar 2021
    Release notes

    Removed

    • This release removes the extension of Throwable by Psr\Container\ContainerInterface, as it leads to inheritance issues when child classes implement the Throwable interface in addition to ContainerInterface under PHP versions prior to 7.4.
    Open source →
  6. 1.1.0 05 Mar 2021
    Release notes

    Changed

    • This release modifies Psr\Container\ContainerExceptionInterface to extend the Throwable interface, ensuring that any implementation can actually be thrown as an exception type (the original intention of the specification).

    • This release adds the string typehint to the $id argument of each of the Psr\Container\ContainerInterface::get() and Psr\Container\ContainerInterface::has() methods. These were previously documented in the annotations and specification, and are added to the interfaces as part of the PSR-11 type additions errata.

    Removed

    • This release removes support for PHP versions prior to 7.2.0.
    Open source →
  7. 1.0.0 14 Feb 2017
    Release notes

    Initial stable release, following acceptance of PSR-11.

    Open source →

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