Simple PSR-11 compliant PHP dependency injection container
composer require shalvah/syringe
- Clone the repository
git clone https://github.com/shalvah/syringe
- Install dependencies
composer install
- Run tests
./vendor/bin/phpunit tests
# on Windows: vendor\bin\phpunit tests
View API documentation here