-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
55 lines (55 loc) · 1.4 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
{
"name": "mikelooper/php-library-template",
"type": "library",
"description": "A template to create libraries",
"keywords": ["library"],
"homepage": "https://github.com/mikel00per/php-library-template",
"license": "MIT",
"authors": [
{
"name": "A. Miguel Morillo",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"PhpLibraryTemplate\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\PhpLibraryTemplate\\": "tests/"
},
"classmap": [
"src/"
]
},
"require": {
"php": "^8.2"
},
"require-dev": {
"mikelooper/code-style": "^0.0.1",
"phpunit/phpunit": "^10.4",
"vimeo/psalm": "^5.15"
},
"scripts": {
"test": [
"@analyze",
"@test:unit"
],
"analyze": [
"@psalm",
"@lint"
],
"test:unit": "phpunit --configuration tools/phpunit.xml --no-coverage",
"test:coverage": "phpunit --configuration tools/phpunit.xml --coverage-html tmp/coverage",
"psalm": "psalm -c tools/psalm.xml",
"lint": "ecs check -c tools/ecs.php",
"lint:fix": "ecs check --fix -c tools/ecs.php"
},
"config": {
"process-timeout": 0,
"sort-packages": true,
"optimize-autoloader": true
}
}