composer.json
{
"name": "jitesoft/container",
"description": "PSR-11 container with constructor injection.",
"type": "library",
"require": {
"php": ">=8.1",
"psr/container": "^2",
"jitesoft/exceptions": "^2.4"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.7"
},
"license": "MIT",
"authors": [
{
"name": "Johannes Tegnér",
"email": "johannes@jitesoft.com"
}
],
"autoload": {
"psr-4": {
"Jitesoft\\Container\\": "src/"
}
},
"autoload-dev": {
"files": [
"tests/TestObjects.php"
]
},
"scripts": {
"test": [
"phpunit --configuration ./phpunit.xml --coverage-text --colors=never",
"phpcs --report=summary --standard=./ruleset.xml -p ./src"
]
}
}