koriym/dii
Dependency Injection Plugin for Yii 1
0.6.0
310K downloads/mo
#4697 most downloaded on Packagist
koriym/dii
What this package is like to depend on
Last release 2 months ago
05 Jun 2026
Release timing varies
gaps range from 2 weeks to 3.4 years
Most releases are documented
notes for 8 of 9 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
9 releases · first in 2019
1 release in the last 12 months
see the full history below
Release timeline
9 releases · Nov 2019 to Jun 2026
2020
2021
2022
2023
2024
2025
2026
Releases
latest 9-
0.6.005 Jun 2026Release notes
Open source →Added
Koriym\Dii\InjectableModule: install it to bulk-bind everyInjectablecontroller/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 throwsKoriym\Dii\Exception\DirectoryNotFoundduring configuration.- Built-in Grapher cache (
CacheInterface,FileCache,NullCache,GrapherCache) to boost performance without thedoctrine/cachedependency (#24).
Changed
- Injectable controllers/commands must now be bound explicitly via untargeted binding; the previous runtime auto-bind fallback was removed so missing bindings fail fast and are AOP-compiled (#24).
- Support PHP 8.5 and ignore
E_DEPRECATEDso Yii deprecations do not fail the test suite (#24). - Split the Unit and Integration test suites in CI (#24).
-
0.5.009 Jun 2024Release notes
Open source →What's Changed
- Add Dii::registerAnnotationLoader() by @koriym in #28
- Add Dii::registerSilentAutoLoader() by @koriym in #29
- Support PHP 8.1, 8.2 and 8.3 by @koriym in #31
Full Changelog: 0.4.1...0.4.2
-
0.4.125 Jan 2021 -
0.4.022 Jan 2021 -
0.3.025 Dec 2020 -
0.2.004 Dec 2020Release notes
Open source →- Add #14
Thanks, @sun3bow @amashigeseiji @NaokiTsuchiya for the feedback!
-
0.1.227 Nov 2020 -
0.1.116 Nov 2020 -
0.1.002 Nov 2019Nothing published for this version