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 2021Releases
latest 7-
2.0.205 Nov 2021Release notes
Open source →Added
- This release reverts the removal of the previous patch, re-adding the extension of
ThrowablebyPsr\Container\ContainerExceptionInterface; to avoid issues, PHP >= 7.4 is now required
- This release reverts the removal of the previous patch, re-adding the extension of
-
2.0.124 Mar 2021Release notes
Open source →Removed
- This release removes the extension of
ThrowablebyPsr\Container\ContainerInterface, as it leads to inheritance issues when child classes implement theThrowableinterface in addition toContainerInterfaceunder PHP versions prior to 7.4.
- This release removes the extension of
-
2.0.005 Mar 2021Release notes
Open source →Changed
- This release adds the
boolreturn typehint toPsr\Container\ContainerInterface::has(), in accordance with the PSR-11 type additions errata.
- This release adds the
-
1.1.205 Nov 2021Release notes
Open source →Added
- This release reverts the removal of the previous patch, re-adding the extension of
ThrowablebyPsr\Container\ContainerExceptionInterface; to avoid issues, PHP >= 7.4 is now required
- This release reverts the removal of the previous patch, re-adding the extension of
-
1.1.105 Mar 2021Release notes
Open source →Removed
- This release removes the extension of
ThrowablebyPsr\Container\ContainerInterface, as it leads to inheritance issues when child classes implement theThrowableinterface in addition toContainerInterfaceunder PHP versions prior to 7.4.
- This release removes the extension of
-
1.1.005 Mar 2021Release notes
Open source →Changed
-
This release modifies
Psr\Container\ContainerExceptionInterfaceto extend theThrowableinterface, ensuring that any implementation can actually be thrown as an exception type (the original intention of the specification). -
This release adds the
stringtypehint to the$idargument of each of thePsr\Container\ContainerInterface::get()andPsr\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.
-
-
1.0.014 Feb 2017