shalvah / syringe
Small dependency injection container for PHP
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 3
Forks: 0
Open Issues: 1
pkg:composer/shalvah/syringe
Requires
- php: >=7.0
- container-interop/container-interop: ^1.1
Requires (Dev)
- apigen/apigen: ^4.1
- phpunit/phpunit: ^4.0
This package is auto-updated.
Last update: 2021-06-11 21:40:20 UTC
README
Simple PSR-11 compliant PHP dependency injection container
Documentation
Installation
composer require shalvah/syringe
Setup
- 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
API Documentation
View API documentation here