NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #5022 most downloaded on Packagist
Dependency Injection Plugin for Yii 1
Latest stable
0.6.1
Last release 2 months ago
15 Sep 2026
Ships unpredictably
gaps range from 2 weeks to 3.4 years
Nearly every release is documented
notes for 9 of 10 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
10 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
InjectableModule's directory scanner mis-parsed several valid use shapes and silently dropped the Injectable binding for the affected class: group-use
InjectableModule's directory scanner mis-parsed several valid use shapes and silently dropped the Injectable binding for the affected class: group-use imports (use A\{B, C}; lost the prefix on the second and later members), mixed function/class group-use (use A\{function f, B}; stopped at the function item), a use function/use const modifier not applying to every comma-separated item, and implements namespace\Marker (namespace-relative name resolution).FileCache: switched the cache-file hash from crc32b (32-bit) to sha256 to avoid key collisions, and a corrupted/truncated cache file is now rebuilt instead of raising a fatal error.GrapherCache: a corrupted or malformed cache payload (including one whose __wakeup() throws) no longer emits a warning or propagates the exception; it now falls back to rebuilding the object graph.Dii::registerSilentAutoLoader() and SilentAutoload::autoload(): error_reporting() is now restored via finally, so a throwing autoloader no longer leaves warnings permanently suppressed process-wide.Dii::createComponent(): a class that does not exist now throws a clear Koriym\Dii\Exception\Unloadable instead of an E_WARNING followed by a TypeError from in_array().Your coding agent can read these notes before it upgrades. Set up the MCP server →
Support PHP 8.5 and ignore E_DEPRECATED so Yii deprecations do not fail the test suite (#24).
Koriym\Dii\InjectableModule: install it to bulk-bind every Injectable controller/command discovered in the given directories at compile time, so the bindings are AOP-compiled (#32). Already-bound classes are preserved, concrete subclasses of an injectable base are bound while abstract/non-instantiable classes are skipped, and a missing scan path throws Koriym\Dii\Exception\DirectoryNotFound during configuration.CacheInterface, FileCache, NullCache, GrapherCache) to boost performance without the doctrine/cache dependency (#24).E_DEPRECATED so Yii deprecations do not fail the test suite (#24).Add Dii::registerAnnotationLoader() by @koriym in https://github.com/koriym/dii/pull/28
Full Changelog: https://github.com/koriym/dii/compare/0.4.1...0.4.2
Fix #27 by @sun3bow
* Add client loader #26 Thanks to the team at bengo4!
Thanks to the team at bengo4!
Instantiate the Controller with Dii::createComponent() #15 @sun3bow
Dii::createComponent() #16 @sun3bowThanks, @sun3bow @amashigeseiji @NaokiTsuchiya for the feedback!
Thanks, @sun3bow @amashigeseiji @NaokiTsuchiya for the feedback!
* Add QATool #11 * Fix #9 #12
Fix #7 Thanks, @sun3bow !
Nothing published for this version
One column per quarter.