-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
97 lines (97 loc) · 2.16 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "next/nano",
"license": "Apache-2.0",
"description": "一款支持swoole/workerman/cli-server/FPM环境的PHP框架。",
"type": "project",
"keywords": [
"nextphp",
"swoole",
"workerman",
"FPM",
"flexible",
"php framework"
],
"autoload": {
"psr-4": {
"App\\": "app"
},
"files": [
"app/helpers.php"
]
},
"authors": [
{
"name": "chengyao",
"email": "[email protected]"
}
],
"require": {
"php": "^8.2",
"monolog/monolog": "^3.7",
"next/aop": "0.1.x-dev",
"next/foundation": "^0.1.2",
"next/http-server": "0.1.x-dev",
"next/routing": "0.1.x-dev",
"next/session": "^0.1.1",
"next/utils": "^0.1.1",
"vlucas/phpdotenv": "^5.6",
"workerman/workerman": "^4.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.11",
"next/var-dumper": "0.1.x-dev",
"pestphp/pest": "^2.34",
"phpstan/phpstan": "^1.11",
"zircote/swagger-php": "^4.10"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"scripts": {
"post-autoload-dump": [
"rm -rf runtime/aop"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.example.env', '.env');\""
],
"test": "@php ./vendor/bin/phpunit -c phpunit.xml --colors=always",
"cs-fix": "@php ./vendor/bin/php-cs-fixer fix $1",
"analyse": "@php ./vendor/bin/phpstan analyse --memory-limit 300M -l 0 -c phpstan.neon $1",
"swagger": [
"@php ./vendor/bin/openapi -o ./public/openapi.json ./app/Http/Controller"
]
},
"minimum-stability": "dev",
"prefer-stable": true,
"repositories": [
{
"type": "path",
"url": "../next/src/aop"
},
{
"type": "path",
"url": "../next/src/http-server"
},
{
"type": "path",
"url": "../next/src/http-message"
},
{
"type": "path",
"url": "../next/src/routing"
},
{
"type": "path",
"url": "../next/src/foundation"
},
{
"type": "path",
"url": "../next/src/var-dumper"
}
]
}