-
-
Notifications
You must be signed in to change notification settings - Fork 265
/
composer.json
169 lines (169 loc) · 6.76 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "laravel-zero/laravel-zero",
"description": "The Laravel Zero Framework.",
"license": "MIT",
"type": "project",
"keywords": [
"framework",
"laravel",
"laravel zero",
"console",
"cli"
],
"authors": [
{
"name": "Nuno Maduro",
"email": "[email protected]"
}
],
"homepage": "https://laravel-zero.com",
"support": {
"issues": "https://github.com/laravel-zero/laravel-zero/issues",
"source": "https://github.com/laravel-zero/laravel-zero"
},
"require": {
"php": "^8.3",
"cerbero/command-validator": "^3.0",
"graham-campbell/github": "^12.6",
"illuminate/validation": "^11.23",
"laminas/laminas-feed": "^2.22",
"laravel-zero/framework": "^11.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"ergebnis/composer-normalize": "^2.43",
"ergebnis/license": "^2.4",
"ergebnis/php-cs-fixer-config": "dev-main",
"fakerphp/faker": "^1.23",
"guanguans/ai-commit": "dev-main",
"mockery/mockery": "^1.6",
"pestphp/pest": "^3.1",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^1.12",
"rector/rector": "^1.2",
"roave/security-advisories": "dev-latest"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"bin": [
"favorite-link"
],
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"ergebnis/composer-normalize": true,
"pestphp/pest-plugin": true,
"php-http/discovery": true,
"phpstan/extension-installer": true
},
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true,
"target-directory": "vendor-bin"
},
"composer-normalize": {
"indent-size": 4,
"indent-style": "space"
},
"hooks": {
"post-merge": [
"composer checks"
],
"pre-commit": [
"composer checks"
]
}
},
"scripts": {
"post-install-cmd": [
"@composer-bin-all-update"
],
"post-update-cmd": [
"@composer-bin-all-update"
],
"post-autoload-dump": [],
"ai-commit": "@php ./vendor/bin/ai-commit commit --generator=bito_cli --ansi",
"ai-commit-no-verify": "@ai-commit --commit-options=--no-verify",
"cghooks": "@php ./vendor/bin/cghooks --ansi -v",
"checks": [
"@composer-normalize",
"@composer-validate",
"@style-lint",
"@md-lint",
"@zh-lint",
"@test",
"@rector-dry-run"
],
"composer-bin-all-update": "@composer bin all update --ansi -v",
"composer-check-platform-reqs": "@composer check-platform-reqs --lock --ansi -v",
"composer-normalize": "@composer normalize --dry-run --diff --ansi -v",
"composer-updater": "@php ./composer-updater --highest-php-binary=/opt/homebrew/opt/[email protected]/bin/php --except-packages=pestphp/pest-plugin-laravel --ansi",
"composer-updater-dry-run": "@composer-updater --dry-run",
"composer-validate": "@composer validate --check-lock --strict --ansi -v",
"facade-lint": "@facade-update --lint",
"facade-update": "/opt/homebrew/opt/[email protected]/bin/php -f ./facade.php -- App\\\\Facades\\\\Music",
"json-lint": "@php ./vendor/bin/jsonlint *.json .*rc",
"lint": [
"for DIR in .; do find $DIR -maxdepth 1 -type f -name '*.php' -type f ! -name 'xxx.php' -exec php -l {} \\; 2>&1 | (! grep -v '^No syntax errors detected'); done",
"for DIR in ./app ./bootstrap ./config ./tests; do find $DIR -type f -name '*.php' -type f ! -name 'xxx.php' -exec php -l {} \\; 2>&1 | (! grep -v '^No syntax errors detected'); done"
],
"md-fix": "@md-lint --fix",
"md-lint": "lint-md 'README.md' --config=.lintmdrc --threads",
"pest": "@php ./vendor/bin/pest --configuration=phpunit.xml.dist --coverage --profile --parallel -v",
"pest-coverage": "@pest --coverage-html=./.build/phpunit/ --coverage-clover=./.build/phpunit/clover.xml",
"pest-migrate-configuration": "@pest --migrate-configuration",
"pest-profile": "@pest --profile",
"pest-type-coverage": "@pest --type-coverage",
"phpstan": "@php ./vendor/bin/phpstan analyse --ansi -vv",
"phpstan-baseline": "@phpstan --generate-baseline --allow-empty-baseline",
"post-merge": [
"@composer install"
],
"psalm": "@php ./vendor/bin/psalm",
"psalm-baseline": "@psalm --update-baseline",
"readme-fix": [
"@md-fix",
"@zh-fix"
],
"rector": "@php ./vendor/bin/rector --config=rector.php --ansi -v",
"rector-dry-run": "@rector --dry-run",
"release": "@php ./vendor/bin/monorepo-builder release --ansi -v",
"release-major": "@release major",
"release-major-dry-run": "@release-major --dry-run",
"release-minor": "@release minor",
"release-minor-dry-run": "@release-minor --dry-run",
"release-patch": "@release patch",
"release-patch-dry-run": "@release-patch --dry-run",
"style-fix": "@php ./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --show-progress=dots --diff --ansi -v",
"style-lint": "@style-fix --dry-run",
"test": "@pest",
"test-coverage": "@pest-coverage",
"test-migrate-configuration": "@pest-migrate-configuration",
"test-phpunit": "@php ./vendor/bin/phpunit --cache-result-file=./.build/phpunit/.phpunit.result.cache --coverage-text --ansi -v",
"test-phpunit-coverage": "@test --coverage-html=./.build/phpunit/ --coverage-clover=./.build/phpunit/clover.xml",
"test-type-coverage": "@pest-type-coverage",
"text-fix": "npx textlint --fix ./*.md ./.github/*.md ./docs/**/*.md",
"text-lint": "npx textlint --format=pretty-error ./*.md ./.github/*.md ./docs/**/*.md",
"trufflehog": "trufflehog git https://github.com/guanguans/ai-commit --only-verified",
"yaml-lint": "@php ./vendor/bin/yaml-lint .*.yml .github/ --ansi -v",
"zh-fix": "@zh-lint --fix",
"zh-lint": "zhlint 'README.md' --config=.zhlintrc"
}
}