InitPHP Container
PSR-11 dependency injection container for PHP 8.2+ with autowiring, lazy factories and interface binding.
Installation
terminal
$ composer require initphp/container
Requires PHP 8.2+. The package is published on
Packagist as
initphp/container.
What Container does
Lightweight PSR-11 container — autowiring, lazy factories and interface binding for PHP 8.2+.
Package details
- Composer package
- initphp/container
- Latest version
- 2.0.1
- Released
- 2026-11-25
- Requires
- PHP 8.2+ (^8.2)
- License
- MIT
- Implements
- PSR-11
- Depends on
- psr/container