forked from mineadmin/MineAdmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
80 lines (80 loc) · 2.08 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
{
"name": "xmo/mineadmin",
"type": "project",
"keywords": [
"mineadmin",
"swoole",
"hyperf"
],
"homepage": "https://www.mineadmin.com/",
"description": "Quickly build a background management system for web applications",
"license": "Apache-2.0",
"require": {
"xmo/app-store": "2.0.x-dev",
"xmo/jwt-auth": "2.0.x-dev",
"xmo/mine-core": "2.0.x-dev",
"xmo/mine-generator": "2.0.x-dev",
"xmo/mine-helpers": "2.0.x-dev",
"xmo/mine-office": "2.0.x-dev",
"xmo/mine-service": "2.0.x-dev",
"xmo/mine-translatable": "2.0.x-dev"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"hyperf/devtool": "3.1.*",
"hyperf/ide-helper": "3.1.*",
"hyperf/testing": "3.1.*",
"hyperf/watcher": "3.1.*",
"mockery/mockery": "^1.0",
"pestphp/pest": "^2.33",
"phpstan/phpstan": "^1.10",
"swoole/ide-helper": "^5.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/",
"Api\\": "api/"
},
"files": [
"common/common.php"
]
},
"autoload-dev": {
"psr-4": {
"HyperfTests\\": "./tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"extra": [],
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-autoload-dump": [
"rm -rf runtime/container"
],
"test": "pest ",
"coverage": "pest --coverage --coverage-clover tests/coverage.xml ",
"cs-fix": "php-cs-fixer fix $1",
"analyse": "phpstan analyse --memory-limit 500M -l 0 -c phpstan.neon ./app ./config ./api ./common",
"start": [
"Composer\\Config::disableProcessTimeout",
"php ./bin/hyperf.php start"
]
}
}