-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
79 lines (79 loc) · 2.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
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
{
"name": "hyperf/swow-skeleton",
"type": "project",
"keywords": [
"php",
"swow",
"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.0",
"hyperf/cache": "3.0.*",
"hyperf/command": "3.0.*",
"hyperf/config": "3.0.*",
"hyperf/constants": "3.0.*",
"hyperf/contract": "3.0.*",
"hyperf/db-connection": "3.0.*",
"hyperf/di": "3.0.*",
"hyperf/dispatcher": "3.0.*",
"hyperf/engine-swow": "^2.1",
"hyperf/event": "3.0.*",
"hyperf/exception-handler": "3.0.*",
"hyperf/framework": "3.0.*",
"hyperf/guzzle": "3.0.*",
"hyperf/http-server": "3.0.*",
"hyperf/logger": "3.0.*",
"hyperf/process": "3.0.*",
"hyperf/phar": "3.0.*",
"hyperf/utils": "3.0.*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"hyperf/devtool": "3.0.*",
"hyperf/testing": "3.0.*",
"mockery/mockery": "^1.0",
"phpstan/phpstan": "^1.0"
},
"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/"
}
},
"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": [
"@php -r \"if(PHP_OS_FAMILY === 'Windows') shell_exec('del /f /s /q runtime\\container && rmdir runtime\\container'); else shell_exec('rm -rf runtime/container');\" "
],
"analyse": "@php vendor/bin/phpstan analyse --memory-limit 512M -l 0 -c phpstan.neon ./app ./config",
"cs-fix": "@php vendor/bin/php-cs-fixer fix $1",
"start": "@php bin/hyperf.php start",
"test": "@php vendor/bin/phpunit -c phpunit.xml --colors=always",
"rector": "rector process --clear-cache"
}
}