-
Notifications
You must be signed in to change notification settings - Fork 14
/
composer.json
56 lines (56 loc) · 1.56 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
{
"name": "neomerx/cors-psr7",
"description": "Framework agnostic (PSR-7) CORS implementation (www.w3.org/TR/cors/)",
"keywords": [
"PSR-7",
"PSR7",
"Cross-Origin Resource Sharing",
"Cross Origin Resource Sharing",
"CORS",
"www.w3.org",
"w3.org",
"neomerx"
],
"homepage": "https://github.com/neomerx/cors-psr7",
"support": {
"issues": "https://github.com/neomerx/cors-psr7/issues"
},
"license": "Apache-2.0",
"authors": [
{
"name": "neomerx",
"email": "info@neomerx.com"
}
],
"require": {
"php": ">=8.0.0",
"psr/http-message": "^1.0",
"psr/log": "^3.0"
},
"require-dev": {
"phpunit/phpunit": "^9.2",
"mockery/mockery": "^1.0",
"scrutinizer/ocular": "^1.4",
"squizlabs/php_codesniffer": "^3.0",
"friendsofphp/php-cs-fixer": "^3.11"
},
"minimum-stability": "stable",
"autoload": {
"psr-4": {
"Neomerx\\Cors\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Neomerx\\Tests\\Cors\\": "tests/"
}
},
"scripts": {
"test": ["@test-unit", "@test-cs", "@test-cs-fixer"],
"test-unit": "XDEBUG_MODE=coverage ./vendor/phpunit/phpunit/phpunit --coverage-text",
"test-unit-phpdbg": "phpdbg -qrr ./vendor/bin/phpunit --coverage-text",
"test-cs": "./vendor/bin/phpcs -p -s --standard=PSR2 ./src ./tests",
"test-cs-fixer": "./vendor/bin/php-cs-fixer fix --diff --dry-run -v --allow-risky=yes --config=php-cs-fixer.dist.php",
"cs-fixer": "./vendor/bin/php-cs-fixer fix --diff -v --ansi --allow-risky=yes --config=php-cs-fixer.dist.php"
}
}