topthink/think-container
Think Container is a lightweight PSR-11 compatible dependency injection container from ThinkPHP. It supports binding, singleton instances, aliases, and constructor injection, giving PHP applications a simple, flexible IoC foundation for managing class dependencies.
topthink/think-container is a lightweight dependency injection container and IoC foundation used by the ThinkPHP framework. It centralizes object construction, binding, and resolution, helping decouple application components while keeping bootstrap code simple and testable.
get()/has() interface for interoperable service lookup.make() and invoke*() helpers.How can I help you explore Laravel packages today?