summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json45
1 files changed, 35 insertions, 10 deletions
diff --git a/composer.json b/composer.json
index 559de5c..1cab55b 100644
--- a/composer.json
+++ b/composer.json
@@ -1,10 +1,11 @@
{
"name": "laminas/laminas-di",
- "description": " ",
+ "description": "Automated dependency injection for PSR-11 containers",
"license": "BSD-3-Clause",
"keywords": [
"laminas",
- "di"
+ "di",
+ "psr-11"
],
"homepage": "https://laminas.dev",
"support": {
@@ -20,20 +21,34 @@
},
"extra": {
"branch-alias": {
- "dev-master": "2.6-dev",
- "dev-develop": "2.7-dev"
+ "dev-master": "3.1.x-dev",
+ "dev-develop": "3.2.x-dev"
+ },
+ "laminas": {
+ "component": "Laminas\\Di",
+ "config-provider": "Laminas\\Di\\ConfigProvider"
}
},
"require": {
- "php": "^5.5 || ^7.0",
- "container-interop/container-interop": "^1.1",
- "laminas/laminas-code": "^2.6 || ^3.0",
+ "php": "^7.1",
"laminas/laminas-stdlib": "^2.7 || ^3.0",
- "laminas/laminas-zendframework-bridge": "^0.4.5 || ^1.0"
+ "laminas/laminas-zendframework-bridge": "^0.4.5 || ^1.0",
+ "psr/container": "^1.0",
+ "psr/log": "^1.0"
},
"require-dev": {
- "fabpot/php-cs-fixer": "1.7.*",
- "phpunit/phpunit": "~4.0"
+ "container-interop/container-interop": "^1.2.0",
+ "laminas/laminas-coding-standard": "~1.0.0",
+ "laminas/laminas-servicemanager": "^3.0",
+ "mikey179/vfsstream": "^1.6.7",
+ "phpunit/phpunit": "^7.5.18 || ^8.5"
+ },
+ "conflict": {
+ "laminas/laminas-servicemanager-di": "*",
+ "phpspec/prophecy": "<1.9.0"
+ },
+ "suggest": {
+ "laminas/laminas-servicemanager": "An IoC container without auto wiring capabilities"
},
"autoload": {
"psr-4": {
@@ -45,6 +60,16 @@
"LaminasTest\\Di\\": "test/"
}
},
+ "scripts": {
+ "check": [
+ "@cs-check",
+ "@test"
+ ],
+ "cs-check": "phpcs",
+ "cs-fix": "phpcbf",
+ "test": "phpunit --colors=always",
+ "test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
+ },
"replace": {
"zendframework/zend-di": "self.version"
}