-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
64 lines (64 loc) · 1.64 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
54
55
56
57
58
59
60
61
62
63
64
{
"name": "los/api-auth",
"description": "Auth Middleware for apis",
"license": "MIT",
"type": "library",
"keywords": [
"api",
"authorization",
"authentication",
"middleware"
],
"authors": [
{
"name": "Leandro Silva",
"email": "[email protected]"
}
],
"require": {
"php": "^8.0",
"mezzio/mezzio-problem-details": "^1.2",
"psr/container": "^1.0 || ^2.0",
"psr/http-message": "^1.0 || ^2.0",
"psr/http-server-middleware": "^1.0 || ^2.0"
},
"require-dev": {
"doctrine/coding-standard": "^12.0",
"laminas/laminas-diactoros": "^3.2",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^10.3",
"squizlabs/php_codesniffer": "^3.5",
"vimeo/psalm": "^5.3"
},
"autoload": {
"psr-4": {
"Los\\ApiAuth\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Los\\ApiAuth\\Test\\": "tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"sort-packages": true
},
"scripts": {
"check": [
"@cs-check",
"@phpstan",
"@psalm",
"@test"
],
"coverage": "phpunit --coverage-clover build/logs/clover.xml",
"coverage:html": "phpunit --coverage-html build/coverage",
"cs-check": "phpcs -s",
"cs-fix": "phpcbf",
"phpstan": "phpstan analyze",
"psalm": "psalm --diff --show-info=true",
"test": "phpunit --colors=always"
}
}