forked from guanguans/yii-log-target
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
142 lines (142 loc) · 4.35 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "guanguans/yii-log-target",
"description": "Multiple channels of Yii exception notification(Bark、Chanify、DingTalk、FeiShu、ServerChan、WeWork、XiZhi). - 多种通道的 Yii 异常通知(Bark、Chanify、钉钉群机器人、飞书群机器人、Server 酱、企业微信群机器人、息知)。",
"keywords": [
"yii",
"yii2",
"log",
"log",
"target",
"notification",
"notify",
"notifier",
"SDK",
"sdk",
"bark",
"chanify",
"dingTalk",
"feiShu",
"serverChan",
"weWork",
"xiZhi",
"钉钉群机器人",
"机器人",
"钉钉群",
"钉钉",
"飞书群机器人",
"飞书",
"Server酱",
"企业微信群机器人",
"企业微信",
"微信",
"息知"
],
"homepage": "https://github.com/guanguans/yii-log-target",
"support": {
"issues": "https://github.com/guanguans/yii-log-target/issues",
"source": "https://github.com/guanguans/yii-log-target"
},
"authors": [
{
"name": "guanguans",
"email": "[email protected]",
"homepage": "https://www.guanguans.cn",
"role": "developer"
}
],
"type": "library",
"license": "MIT",
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=7.2",
"guanguans/notify": "^1.0",
"yiisoft/yii2": "~2.0"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.7",
"friendsofphp/php-cs-fixer": "^2.16 || ^3.0",
"mockery/mockery": "^1.2",
"overtrue/phplint": "^2.3 || ^3.0",
"phpunit/phpunit": "^7 || ^8",
"vimeo/psalm": "^4.0"
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
],
"autoload": {
"psr-4": {
"Guanguans\\YiiLogTarget\\": "src"
},
"files": [
"src/Support/helpers.php"
]
},
"autoload-dev": {
"psr-4": {
"Guanguans\\YiiLogTarget\\Tests\\": "tests"
}
},
"config": {
"sort-packages": true,
"process-timeout": 1800,
"fxp-asset": {
"enabled": false
}
},
"funding": [
{
"type": "wechat",
"url": "https://www.guanguans.cn/images/wechat.jpeg"
}
],
"extra": {
"hooks": {
"pre-commit": [
"composer lint",
"composer style-lint",
"composer md-lint",
"composer test"
],
"pre-push": [
"composer lint",
"composer style-lint",
"composer md-lint",
"composer test"
]
}
},
"scripts": {
"post-update-cmd": [
"cghooks update"
],
"post-merge": "composer install",
"post-install-cmd": [
"cghooks add --ignore-lock",
"cghooks update"
],
"cghooks": "./vendor/bin/cghooks",
"lint": "./vendor/bin/phplint --no-cache --configuration=.phplint.yml --ansi",
"md-lint": "lint-md --config .lintmdrc *.md .github/*.md .github/ISSUE_TEMPLATE/*.md",
"md-fix": "lint-md --config .lintmdrc --fix *.md .github/*.md .github/ISSUE_TEMPLATE/*.md",
"style-lint": "./vendor/bin/php-cs-fixer fix --using-cache=no --diff --config=.php-cs-fixer.php --dry-run --ansi",
"style-fix": "./vendor/bin/php-cs-fixer fix --using-cache=no --config=.php-cs-fixer.php --ansi",
"psalm": "./vendor/bin/psalm",
"test": "./vendor/bin/phpunit --coverage-text --colors=always --verbose",
"test-coverage": "./vendor/bin/phpunit --coverage-html=coverage/ --coverage-clover=clover.xml --color=always --verbose"
},
"scripts-descriptions": {
"cghooks": "Run git cghooks.",
"lint": "Run phplint checks.",
"md-lint": "Run markdown checks.",
"md-fix": "Run markdown fixing.",
"style-lint": "Run style checks (only dry run - no fixing!).",
"style-fix": "Run style checks and fix violations.",
"psalm": "Run psalm checks.",
"test": "Run all tests.",
"test-coverage": "Run all tests with coverage."
}
}