-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
85 lines (85 loc) · 2.63 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
{
"name": "swooletw/laravel-hyperf",
"type": "project",
"keywords": [
"php",
"swoole",
"framework",
"hyperf",
"microservice",
"laravel",
"laravel-hyperf"
],
"description": "A Laravel style framework skeleton based on powerful Hyperf framework.",
"license": "MIT",
"require": {
"php": ">=8.1",
"ext-redis": "*",
"ext-session": "*",
"friendsofhyperf/http-client": "^3.1",
"friendsofhyperf/model-observer": "~3.1.0",
"friendsofhyperf/pretty-console": "~3.1.0",
"friendsofhyperf/tinker": "~3.1.0",
"hyperf/paginator": "~3.1.0",
"hyperf/redis": "~3.1.0",
"hyperf/session": "~3.1.0",
"hyperf/validation": "~3.1.0",
"hyperf/view": "~3.1.0",
"hyperf/view-engine": "~3.1.0",
"swooletw/hyperf-packages": "dev-master"
},
"require-dev": {
"fakerphp/faker": "^2.0",
"filp/whoops": "^2.15",
"friendsofphp/php-cs-fixer": "^3.57.2",
"hyperf/devtool": "~3.1.0",
"hyperf/testing": "~3.1.0",
"hyperf/watcher": "~3.1.0",
"league/flysystem": "^3.0",
"league/flysystem-path-prefixing": "^3.3",
"league/flysystem-read-only": "^3.3",
"league/flysystem-aws-s3-v3": "*",
"phpstan/phpstan": "^1.0"
},
"autoload": {
"psr-4": {
"App\\": "app/"
},
"files": []
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
},
"files": [
"tests/helpers.php"
]
},
"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-create-project-cmd": [
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
"@php artisan migrate --graceful --ansi"
],
"post-autoload-dump": [
"rm -rf runtime/container"
],
"test": "co-phpunit --prepend tests/bootstrap.php -c phpunit.xml.dist --colors=always",
"cs-diff": "php-cs-fixer fix --path-mode=intersection `git diff --name-only --diff-filter=ACMRTUXB origin/master..HEAD`",
"cs-fix": "php-cs-fixer fix $1",
"analyse": "phpstan analyse --memory-limit 300M -c phpstan.neon",
"start": [
"Composer\\Config::disableProcessTimeout",
"php artisan start"
]
}
}