-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcomposer.json
More file actions
48 lines (48 loc) · 1.36 KB
/
composer.json
File metadata and controls
48 lines (48 loc) · 1.36 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
{
"name": "moon-php/http-middleware",
"description": "Http-Middleware supporting PSR-15",
"license": "MIT",
"homepage": "https://www.moon-php.com/",
"require": {
"php": ">=7.1",
"psr/http-server-middleware": "^1.0",
"psr/container": "^1.0"
},
"require-dev": {
"roave/security-advisories": "dev-master",
"friendsofphp/php-cs-fixer": "^2.12",
"damianopetrungaro/php-commitizen": "^0.1.2",
"phpstan/phpstan": "^0.10.1",
"php-coveralls/php-coveralls": "^2.1",
"jangregor/phpstan-prophecy": "^0.2.0",
"phpunit/phpunit": "^7.3"
},
"scripts": {
"inspire": "curl -s https://favqs.com/api/qotd | json_pp | awk -F ':[ \t]*' '/^.*\"body\"/ {print $2}'",
"fix": "@php vendor/bin/php-cs-fixer fix --config=.php_cs.dist",
"tests": "@php vendor/bin/phpunit",
"analyse": "@php vendor/bin/phpstan analyse src tests"
},
"scripts-descriptions": {
"inspire": "Will print an inspiring quote",
"fix": "Clean and optimize src and tests directories",
"tests": "Run unit tests",
"analyse": "Analyse project quality using PHPStan"
},
"authors": [
{
"name": "Damiano Petrungaro",
"email": "damianopetrungaro@gmail.com"
}
],
"autoload": {
"psr-4": {
"Moon\\HttpMiddleware\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Moon\\HttpMiddleware\\Unit\\": "tests/Unit/"
}
}
}