-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
83 lines (83 loc) · 1.99 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
{
"name": "larva/support",
"description": "common components",
"keywords": [
"support",
"http",
"larva"
],
"license": "MIT",
"support": {
"issues": "https://github.com/larvatech/support/issues",
"source": "https://github.com/larvatech/support"
},
"authors": [
{
"name": "Larva Team",
"email": "support@larva.com.cn"
}
],
"require": {
"php": "^8.0 || ^8.1 || ^8.2 || ^8.3",
"ext-curl": "*",
"ext-dom": "*",
"ext-json": "*",
"ext-openssl": "*",
"ext-mbstring": "*",
"ext-simplexml": "*",
"ext-libxml": "*",
"ext-fileinfo": "*",
"nesbot/carbon": "^3.8",
"guzzlehttp/guzzle": "^6.5 || ^7.2",
"ezyang/htmlpurifier": "^4.14"
},
"require-dev": {
"mockery/mockery": "^1.5",
"phpunit/phpunit": "^11.3",
"brainmaestro/composer-git-hooks": "^2.8",
"friendsofphp/php-cs-fixer": "^3.17"
},
"autoload": {
"psr-4": {
"Larva\\Support\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests"
}
},
"extra": {
"hooks": {
"pre-commit": [
"composer check-style",
"composer test"
],
"pre-push": [
"composer test"
]
}
},
"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"
],
"cghooks": "./vendor/bin/cghooks",
"check-style": "./vendor/bin/php-cs-fixer fix --using-cache=no --diff --dry-run --ansi",
"fix-style": "./vendor/bin/php-cs-fixer fix --using-cache=no --ansi",
"test": "./vendor/bin/phpunit --colors"
},
"scripts-descriptions": {
"test": "Run all tests.",
"check-style": "Run style checks (only dry run - no fixing!).",
"fix-style": "Run style checks and fix violations."
}
}