forked from overtrue/easy-sms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
62 lines (62 loc) · 1.84 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
{
"name": "overtrue/easy-sms",
"description": "The easiest way to send short message.",
"type": "library",
"require": {
"guzzlehttp/guzzle": "^6.2 || ^7.0",
"php": ">=5.6",
"ext-json": "*"
},
"require-dev": {
"phpunit/phpunit": "^5.7 || ^7.5 || ^8.5.19 || ^9.5.8",
"mockery/mockery": "~1.3.3 || ^1.4.2",
"brainmaestro/composer-git-hooks": "^2.8",
"jetbrains/phpstorm-attributes": "^1.0"
},
"autoload": {
"psr-4": {
"Overtrue\\EasySms\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Overtrue\\EasySms\\Tests\\": "tests"
}
},
"license": "MIT",
"authors": [{
"name": "overtrue",
"email": "i@overtrue.me"
}],
"extra": {
"hooks": {
"pre-commit": [
"composer check-style",
"composer psalm",
"composer test"
],
"pre-push": [
"composer check-style"
]
}
},
"scripts": {
"post-update-cmd": [
"cghooks remove",
"cghooks add --ignore-lock",
"cghooks update"
],
"post-merge": "composer install",
"post-install-cmd": [
"cghooks remove",
"cghooks add --ignore-lock",
"cghooks update"
],
"phpstan": "phpstan analyse",
"check-style": "php-cs-fixer fix --using-cache=no --diff --config=.php-cs-fixer.dist.php --dry-run --allow-risky=yes --ansi",
"fix-style": "php-cs-fixer fix --using-cache=no --config=.php-cs-fixer.dist.php --allow-risky=yes --ansi",
"test": "phpunit --colors",
"psalm": "psalm --show-info=true --no-cache",
"psalm-fix": "psalm --no-cache --alter --issues=MissingReturnType,MissingParamType"
}
}