InitPHP Container
PSR-11 dependency injection container for PHP 8.1+ with autowiring, lazy factories and interface binding.
Installation
terminal
$ composer require initphp/container
Requires PHP 8.1+. 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.1+.
Package details
- Composer package
- initphp/container
- Latest version
- 1.0.0
- Released
- 2026-05-29
- Requires
- PHP 8.1+ (^8.1)
- License
- MIT
- Implements
- PSR-11
- Depends on
- psr/container