-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathcomposer.json
More file actions
53 lines (52 loc) · 1.49 KB
/
composer.json
File metadata and controls
53 lines (52 loc) · 1.49 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
{
"name": "slim/csrf",
"type": "library",
"description": "Slim Framework 4 CSRF protection PSR-15 middleware",
"keywords": ["slim","framework","middleware","csrf"],
"homepage": "https://www.slimframework.com",
"license": "MIT",
"authors": [
{
"name": "Josh Lockhart",
"email": "hello@joshlockhart.com",
"homepage": "http://joshlockhart.com"
}
],
"config": {
"sort-packages": true
},
"require": {
"php": "^7.4 || ^8.0",
"psr/http-factory": "^1.1",
"psr/http-message": "^1.0 || ^2.0",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3.11"
},
"autoload": {
"psr-4": {
"Slim\\Csrf\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Slim\\Csrf\\Tests\\": "tests"
}
},
"scripts": {
"sniffer:check": "phpcs --standard=phpcs.xml",
"sniffer:fix": "phpcbf --standard=phpcs.xml",
"test": "phpunit --do-not-cache-result --colors=always",
"check": [
"@sniffer:check",
"@test:coverage"
],
"test:coverage": [
"@putenv XDEBUG_MODE=coverage",
"phpunit --do-not-cache-result --colors=always --coverage-clover build/coverage/clover.xml --coverage-html build/coverage --coverage-text"
]
}
}