English
php
di
dependency-injection
reflection
autowiring
shinobi-apps-framework
Dependency injection in PHP without a package: reflection autowiring from scratch
Shinobi Apps framework Container: singleton vs request scope, reflection-based constructor parameter resolution, APCu L2 cache for constructor signatures (namespace keyed by Container.php mtime, TTL 3600s). Circular dependency detection via $resolving stack. Lazy EventDispatcher resolution from container (bootstraps where DI registers after QueueManager). register/singleton/request/get/has API. Auto-class resolution for unregistered class names.