-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcomposer.json
76 lines (76 loc) · 2.05 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
{
"name": "g1a/starter",
"description": "Template project for PHP libraries.",
"license": "MIT",
"authors": [
{
"name": "Greg Anderson",
"email": "[email protected]"
}
],
"autoload":{
"psr-4":{
"CustomizeProject\\": "customize",
"ExampleProject\\": "src"
}
},
"autoload-dev":{
"psr-4":{
"ExampleProject\\": "tests/src"
}
},
"require": {
"php": ">=8"
},
"require-dev": {
"consolidation/robo": "^4",
"knplabs/github-api": "^3.8",
"guzzlehttp/guzzle": "^7.0.1",
"http-interop/http-factory-guzzle": "^1.0",
"phpunit/phpunit": "^9",
"squizlabs/php_codesniffer": "^3",
"dealerdirect/phpcodesniffer-composer-installer":"^0.7",
"phpcompatibility/php-compatibility":">=1@stable"
},
"scripts": {
"customize": [
"CustomizeProject\\Customizer::customize"
],
"phar:install-tools": [
"mkdir -p tools",
"curl -L https://github.com/humbug/box/releases/download/3.0.0/box.phar -o tools/box",
"chmod +x tools/box"
],
"phar:build": "env PATH=tools:$PATH box compile",
"cs": "phpcs --standard=PSR2 -n src",
"cbf": "phpcbf --standard=PSR2 -n src",
"unit": "phpunit --colors=always",
"lint": "phpcs -p src tests/src --standard=PHPCompatibility --runtime-set testVersion 8.0-",
"test": [
"@lint",
"@unit",
"@cs"
],
"release": [
"release VERSION"
],
"post-create-project-cmd": [
"@customize"
]
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "8.0.24"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"branch-alias": {
"dev-main": "1.x-dev"
}
}
}