-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
46 lines (46 loc) · 1.31 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
{
"name": "mogody/hyperf-resource",
"description": "Api resource classes allow you to expressively and easily transform your models and model collections into JSON",
"type": "library",
"license": "MIT",
"require": {
"php": ">=7.2",
"hyperf/utils": "^2.1.0",
"hyperf/paginator": "^2.1.0",
"hyperf/http-message": "^2.1.0",
"hyperf/http-server": "^2.1.0",
"hyperf/di": "^2.1.0",
"mogody/hyperf-responsable": "^2.1.0",
"psr/http-message": "^1.0",
"ext-json": "*"
},
"require-dev": {
"mockery/mockery": "^1.0",
"phpunit/phpunit": "^9.4.0",
"hyperf/testing": "^2.1.0",
"hyperf/database": "^2.1.0",
"phpstan/phpstan": "^0.12",
"friendsofphp/php-cs-fixer": "^2.9"
},
"authors": [
{
"name": "wenghang",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"Mogody\\Resource\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"MogodyTest\\Resource\\": "tests"
}
},
"scripts": {
"test": "co-phpunit -c phpunit.xml --colors=always",
"analyse": "phpstan analyse --memory-limit 300M -l 0 -c phpstan.neon ./src",
"cs-fix": "php-cs-fixer fix $1"
}
}