-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcomposer.json
executable file
·93 lines (93 loc) · 2.56 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
{
"name": "agarwood/oauth",
"type": "library",
"description": "Each organization has its own private domain traffic",
"license": "GPL-3.0",
"keywords": [
"agarwood",
"agarwood-cloud",
"ddd",
"Domain-Driven Design",
"php",
"swoole",
"swoft"
],
"homepage": "https://github.com/agarwood-cloud/agarwood.cloud.oauth.provider",
"require": {
"php": ">=8.0",
"ext-json": "*",
"ext-libxml": "*",
"ext-mbstring": "*",
"ext-pdo": "*",
"ext-redis": "*",
"ext-simplexml": "*",
"ext-openssl": "*",
"agarwood/core": "dev-master",
"agarwood/rpc": "dev-master",
"casbin/casbin": "^3.2",
"casbin/database-adapter": "^1.4",
"casbin/dbal-adapter": "^2.3",
"lcobucci/jwt": "^4.0",
"swoft/db": "~2.0.0",
"swoft/framework": "~2.0.0",
"swoft/http-server": "~2.0.0",
"swoft/rpc-client": "~2.0.0",
"swoft/rpc-server": "~2.0.0",
"godruoyi/php-snowflake": "^1.1"
},
"require-dev": {
"swoft/devtool": "~2.0.0",
"roave/security-advisories": "dev-master",
"swoft/swoole-ide-helper": "dev-master",
"phpunit/phpunit": "^7.5 || ^9.5",
"friendsofphp/php-cs-fixer": "^3.1"
},
"autoload": {
"psr-4": {
"App\\": "app/"
}
},
"autoload-dev": {
"psr-4": {
}
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-install-cmd": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
"@php -r \"file_exists('app-private-key.pem') || copy('app-private-key.pem.example', 'app-private-key.pem');\"",
"@php -r \"file_exists('app-public-key.key') || copy('app-public-key.key.example', 'app-public-key.key');\""
],
"test": [
"./vendor/bin/phpstan analyze",
"./vendor/bin/phpunit -c phpunit.xml"
],
"check-fix": "./vendor/bin/php-cs-fixer fix --dry-run --diff --diff-format=udiff",
"cs-fix": "./vendor/bin/php-cs-fixer fix"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"composer/package-versions-deprecated": true,
"yurunsoft/composer-include-files": true,
"yurunsoft/guzzle-swoole": true,
"easywechat-composer/easywechat-composer": true
}
},
"repositories": [
{
"type": "composer",
"url": "https://mirrors.aliyun.com/composer/"
},
{
"type": "git",
"url": "[email protected]:agarwood-cloud/agarwood.cloud.core.provider.git"
},
{
"type": "git",
"url": "[email protected]:agarwood-cloud/agarwood.cloud.rpc.provider.git"
}
]
}