-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
composer.json
49 lines (49 loc) · 1.54 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
{
"name": "fruitcake/php-cors",
"description": "Cross-origin resource sharing library for the Symfony HttpFoundation",
"keywords": ["cors", "symfony", "laravel"],
"homepage": "https://github.com/fruitcake/php-cors",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Fruitcake",
"homepage": "https://fruitcake.nl"
},
{
"name": "Barryvdh",
"email": "[email protected]"
}
],
"require": {
"php": "^7.4|^8.0",
"symfony/http-foundation": "^4.4|^5.4|^6|^7"
},
"require-dev": {
"phpunit/phpunit": "^9",
"squizlabs/php_codesniffer": "^3.5",
"phpstan/phpstan": "^1.4"
},
"autoload": {
"psr-4": {
"Fruitcake\\Cors\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Fruitcake\\Cors\\Tests\\": "tests/"
}
},
"scripts": {
"actions": "composer test && composer analyse && composer check-style",
"test": "phpunit",
"analyse": "phpstan analyse src tests --level=9",
"check-style": "phpcs -p --standard=PSR12 --exclude=Generic.Files.LineLength --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests",
"fix-style": "phpcbf -p --standard=PSR12 --exclude=Generic.Files.LineLength --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests"
},
"extra": {
"branch-alias": {
"dev-master": "1.3-dev"
}
}
}