cekta / di
psr/container implementation for humans
Installs: 346
Dependents: 0
Suggesters: 0
Security: 0
Stars: 77
Watchers: 10
Forks: 7
Open Issues: 0
Requires
- php: >=8.0
- psr/container: >=2.0
- symfony/filesystem: @stable
Requires (Dev)
- infection/infection: @stable
- phpstan/phpstan: @stable
- phpunit/phpunit: @stable
- squizlabs/php_codesniffer: @stable
Provides
This package is auto-updated.
Last update: 2025-06-23 09:15:16 UTC
README
psr/container implementation for humans
Features
- Zero cost
- Supports opcache compilation (fast).
- Supports Autowiring with automatic constructor-based configuration
- Autowiring support Union Types, Intersection Types, DNF Types, and variadic arguments
- Allows you to manually configure any dependency via closures.
- Support interface and abstract classes
- High code quality (see the badges).
Install via composer
composer require cekta/di
Example usage
Best example is workging autotest with assertation and comments