-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
53 lines (53 loc) · 1.37 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
{
"name": "gokure/hyperf-cors",
"description": "Adds CORS (Cross-Origin Resource Sharing) headers support in your Hyperf application.",
"keywords": ["hyperf", "cors"],
"license": "MIT",
"type": "library",
"authors": [
{
"name": "Gang Wu",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.0",
"hyperf/di": "~3.0.0 || ~3.1.0",
"hyperf/http-server": "~3.0.0 || ~3.1.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "~3.16.0",
"hyperf/config": "~3.0.0 || ~3.1.0",
"hyperf/testing": "~3.0.0 || ~3.1.0",
"hyperf/validation": "~3.0.0 || ~3.1.0",
"mockery/mockery": "^1.6",
"phpstan/phpstan": "^1.10"
},
"autoload": {
"psr-4": {
"Gokure\\HyperfCors\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Gokure\\HyperfCors\\Tests\\": "tests/"
}
},
"extra": {
"hyperf": {
"config": "Gokure\\HyperfCors\\ConfigProvider"
},
"branch-alias": {
"dev-master": "2.x-dev"
}
},
"config": {
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"test": "./vendor/bin/co-phpunit --colors=always",
"cs-fix": "./vendor/bin/php-cs-fixer fix $1"
}
}