-
Notifications
You must be signed in to change notification settings - Fork 7
/
composer.json
53 lines (53 loc) · 1.41 KB
/
composer.json
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
{
"name": "middlewares/whoops",
"type": "library",
"description": "Middleware to use Whoops as error handler",
"license": "MIT",
"keywords": [
"psr-7",
"psr-15",
"middleware",
"server",
"error",
"whoops",
"http"
],
"homepage": "https://github.com/middlewares/whoops",
"support": {
"issues": "https://github.com/middlewares/whoops/issues"
},
"require": {
"php": "^7.2 || ^8.0",
"filp/whoops": "^2.5",
"middlewares/utils": "^3.0 || ^4.0",
"psr/http-server-middleware": "^1.0",
"psr/container": "^1.0 || ^2.0"
},
"require-dev": {
"phpunit/phpunit": "^8|^9",
"laminas/laminas-diactoros": "^2.2",
"friendsofphp/php-cs-fixer": "^2.0",
"squizlabs/php_codesniffer": "^3.0",
"oscarotero/php-cs-fixer-config": "^1.0",
"eloquent/phony-phpunit": "^5.0 || ^7.0",
"phpstan/phpstan": "^0.12"
},
"autoload": {
"psr-4": {
"Middlewares\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Middlewares\\Tests\\": "tests/"
}
},
"scripts": {
"cs": "phpcs",
"cs-fix": "php-cs-fixer fix",
"phpstan": "phpstan analyse",
"test": "phpunit",
"coverage": "phpunit --coverage-text",
"coverage-html": "phpunit --coverage-html=coverage"
}
}