forked from PHP-DI/PHP-DI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
55 lines (55 loc) · 1.72 KB
/
Copy pathcomposer.json
File metadata and controls
55 lines (55 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"name": "z-di/php-di",
"type": "library",
"description": "The dependency injection container for humans",
"keywords": ["di", "dependency injection", "container", "ioc", "psr-11", "psr11", "container-interop"],
"homepage": "https://php-di.org/",
"license": "MIT",
"autoload": {
"psr-4": {
"DI\\": "src/"
},
"files": [
"src/functions.php",
"src/z-helper.php",
]
},
"autoload-dev": {
"psr-4": {
"DI\\Test\\IntegrationTest\\": "tests/IntegrationTest/",
"DI\\Test\\UnitTest\\": "tests/UnitTest/"
}
},
"scripts": {
"test": "phpunit",
"format-code": "php-cs-fixer fix --allow-risky=yes",
"phpstan": "phpstan analyse -l 5 -c phpstan.neon src"
},
"require": {
"php": ">=7.2.0",
"psr/container": "^1.0",
"php-di/invoker": "^2.0",
"php-di/phpdoc-reader": "^2.0.1",
"opis/closure": "^3.5.5",
"nikic/php-parser": "^4.10",
"symfony/finder": "^5.1"
},
"require-dev": {
"phpunit/phpunit": "^8.5|^9.0",
"mnapoli/phpunit-easymock": "^1.2",
"doctrine/annotations": "~1.2",
"ocramius/proxy-manager": "~2.0.2",
"friendsofphp/php-cs-fixer": "^2.4",
"phpstan/phpstan": "^0.12",
"nikic/php-parser": "^4.10",
"symfony/finder": "5.x-dev",
"roave/better-reflection": "4.12.x-dev"
},
"provide": {
"psr/container-implementation": "^1.0"
},
"suggest": {
"doctrine/annotations": "Install it if you want to use annotations (version ~1.2)",
"ocramius/proxy-manager": "Install it if you want to use lazy injection (version ~2.0)"
}
}