forked from hyperf/biz-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
105 lines (105 loc) · 3.24 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
98
99
100
101
102
103
104
105
{
"name": "hyperf/biz-skeleton",
"type": "project",
"keywords": [
"php",
"swoole",
"framework",
"hyperf",
"microservice",
"middleware"
],
"description": "A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.",
"license": "MIT",
"require": {
"php": ">=8.1",
"ext-swoole": ">=5.0",
"hyperf/async-queue": "3.1.*",
"hyperf/cache": "3.1.*",
"hyperf/command": "3.1.*",
"hyperf/config": "3.1.*",
"hyperf/constants": "3.1.*",
"hyperf/context": "3.1.*",
"hyperf/contract": "3.1.*",
"hyperf/coroutine": "3.1.*",
"hyperf/database": "3.1.*",
"hyperf/db-connection": "3.1.*",
"hyperf/di": "3.1.*",
"hyperf/dispatcher": "3.1.*",
"hyperf/engine": "^2.0",
"hyperf/event": "3.1.*",
"hyperf/exception-handler": "3.1.*",
"hyperf/framework": "3.1.*",
"hyperf/guzzle": "3.1.*",
"hyperf/http-server": "3.1.*",
"hyperf/logger": "3.1.*",
"hyperf/model-cache": "3.1.*",
"hyperf/polyfill-coroutine": "3.1.*",
"hyperf/pool": "3.1.*",
"hyperf/process": "3.1.*",
"hyperf/redis": "3.1.*",
"hyperf/server": "3.1.*",
"hyperf/utils": "3.1.*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"hyperf/devtool": "3.1.*",
"hyperf/testing": "3.1.*",
"hyperf/watcher": "^3.1",
"mockery/mockery": "^1.0",
"phpstan/phpstan": "^1.0",
"swoole/ide-helper": "dev-master"
},
"suggest": {
"ext-openssl": "Required to use HTTPS.",
"ext-json": "Required to use JSON.",
"ext-pdo": "Required to use MySQL Client.",
"ext-pdo_mysql": "Required to use MySQL Client.",
"ext-redis": "Required to use Redis Client."
},
"autoload": {
"psr-4": {
"App\\": "app/"
},
"files": [
"app/Kernel/Functions.php"
]
},
"autoload-dev": {
"psr-4": {
"HyperfTest\\": "test/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"extra": [],
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-autoload-dump": [
"rm -rf runtime/container"
],
"analyse": [
"Composer\\Config::disableProcessTimeout",
"phpstan analyse --memory-limit 300M -l 0 -c phpstan.neon ./app ./config"
],
"cs-fix": "php-cs-fixer fix $1",
"test-cs": "php-cs-fixer fix -v --dry-run --stop-on-violation --using-cache=no $1",
"start": [
"Composer\\Config::disableProcessTimeout",
"php ./bin/hyperf.php start"
],
"dev": [
"Composer\\Config::disableProcessTimeout",
"rm -rf ./runtime/",
"php ./bin/hyperf.php server:watch"
],
"test": "co-phpunit --prepend test/bootstrap.php --colors=always",
"rector": "rector process --clear-cache"
}
}