-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathcomposer.json
More file actions
39 lines (39 loc) · 1.13 KB
/
composer.json
File metadata and controls
39 lines (39 loc) · 1.13 KB
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
{
"name": "overtrue/php-package",
"description": "A PHP package template repository.",
"license": "MIT",
"authors": [
{
"name": "vendor",
"email": "name@domain.com"
}
],
"require": {
"php": ">=8.4"
},
"require-dev": {
"mockery/mockery": "^1.6",
"phpunit/phpunit": "^12.0",
"vimeo/psalm": "^6.0",
"jetbrains/phpstorm-attributes": "^1.0",
"laravel/pint": "^1.25"
},
"autoload": {
"psr-4": {
"Vendor\\Package\\": "src"
}
},
"scripts": {
"check-style": "vendor/bin/pint ./src ./tests --test",
"pint": "vendor/bin/pint ./src ./tests",
"fix-style": "vendor/bin/pint ./src ./tests",
"test": "phpunit --colors",
"psalm": "psalm --show-info=true --no-cache",
"psalm-fix": "psalm --no-cache --alter --issues=MissingReturnType,MissingParamType"
},
"scripts-descriptions": {
"test": "Run all tests.",
"check-style": "Run style checks (only dry run - no fixing!).",
"fix-style": "Run style checks and fix violations."
}
}