NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #2624 most downloaded on Packagist
Dependency inversion container with advanced autowiring and compilation support. PSR-11 compliant.
Last release 1 months ago
02 Sep 2026
Ships unpredictably
gaps range from 2 weeks to 2.2 years
Most releases are documented
notes for 11 of 18 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
18 releases · first in 2019
Add addDirectory to BuilderInterface by @Firehed in #110
addDirectory to BuilderInterface by @Firehed in #110AutoDetect::getBuilder(), update ::from to use it by @Firehed in #109Full Changelog: 1.1.0...1.2.0
Resolved an issue where autowired classes with optional constructor parameters ( __construct(?Foo $foo = null) ) would never have the optional paramet
One column per quarter.
__construct(?Foo $foo = null)) would never have the optional parameters resolved, even if available in the containerDefinitionInterface. This is still considered internal for now, but the goal is to enable use-cases like fetching secrets from vaults, etc.Full Changelog: 1.0.0...1.1.0
This is the 1.0.0 release of the container library!
This is the 1.0.0 release of the container library!
There are three behavioral changes that could be possible BC breaks from the 0.x line:
env() now sources from $_ENV before getenv(). Previously only getenv() was checked.ValueRetreivalException is now correctly spelled ValueRetrievalException (you should still only catch the PSR-11 ContainerExceptionInterface, though). If you were catching it anyway, you should a) just catch the PSR interface or b) update to the new name if you really have a good reason.The first change is to increase compatibility with the default/recommended behavior of vlucas/dotenv, which will write into $_ENV but not call putenv(). Basically, there's no need to use unsafe mode to support this library (though you still can). Under the majority of deployments, this will be fully compatible. If you have variables_order set to a value that excludes E and S (this is rare) in php.ini, you may encounter unexpected behavior. See README for details.
If any code writes non-string values into $_ENV, reading it will cause an error. This is consistent with the previous getenv-backed environment reads, which could only be a string.
__debugInfo() method by @Firehed in #70Full Changelog: 0.10.0...1.0.0
This improves functionality of the TypedContainerInterface when interacting with scalar values
This improves functionality of the TypedContainerInterface when interacting with scalar values
Full Changelog: 0.9.1...0.10.0
Ensure config entries with match statements can compile by @Firehed in #53
Full Changelog: 0.9.0...0.9.1
This release adds support for streamlined reading of environment vars into backed enums. This streamlines common pain points such as environment-speci
This release adds support for streamlined reading of environment vars into backed enums. This streamlines common pain points such as environment-specific "drivers" in a more modern PHP deployment.
Full Changelog: 0.8.0...0.9.0
Drop support for legacy versions of PHP by @Firehed in #47
Full Changelog: 0.7.0...0.8.0
Adds a new AutoDetect class which can greatly simplify setup when following the documented conventions.
Adds a new AutoDetect class which can greatly simplify setup when following the documented conventions.
Full Changelog: 0.6.0...0.7.0
This releases a bunch of built-up changes for newer versions of PHP and support for improved type-safety when following recommended conventions.
This releases a bunch of built-up changes for newer versions of PHP and support for improved type-safety when following recommended conventions.
Full Changelog: 0.5.2...0.6.0
This release contains no user-facing runtime changes. It adds some metadata to composer.json to make the package more discoverable.
This release contains no user-facing runtime changes. It adds some metadata to composer.json to make the package more discoverable.
Full Changelog: 0.5.1...0.5.2
Handle missing target directory for compiled container by @Firehed in #24
Full Changelog: 0.5.0...0.5.1
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
Your coding agent can read these notes before it upgrades. Set up the MCP server →