charonlab / charon-container
Lightweight PHP implementation of the PSR-11 standard, offering a versatile Inversion of Control (IoC) container.
2.2.0
2024-03-02 21:13 UTC
Requires
- php: ~8.1.0 || ~8.2.0 || ~8.3.0
- psr/container: ^2.0
Requires (Dev)
- charonlab/coding-standard: 1.2.x-dev
- phpunit/phpunit: 11.1.x-dev
- vimeo/psalm: 6.x-dev
Provides
- psr/container-implementation: 2.0.2
README
charon-container is an open-source implementation of the PHP-FIG PSR-11 standard, which defines a common interface for dependency injection containers. Aims to provide a simple and efficient Inversion of Control (IoC) container for PHP applications.
Features
- PSR-11 Compliance: Adheres to the PSR-11 standard, ensuring compatibility with other components and frameworks that rely on this specification.
- Dependency Injection (DI): Facilitates the injection of dependencies into your application components, promoting a modular and maintainable code structure.
- Service Container: Acts as a service container, managing the instantiation and retrieval of objects throughout your application.
- Simplicity and Performance: Focuses on simplicity and performance, providing a lightweight solution for dependency management.
Installation
Use the composer to install:
composer require charonlab/charon-container
Documentation
Documentation is at docs
Support
License
The MIT License (MIT). Please see License for more information.