This repository has been archived by the owner on Mar 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
71 lines (71 loc) · 2.39 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
{
"name": "narrowspark/php-library-template",
"type": "library",
"description": "Provides a GitHub repository template for a Narrowspark PHP library, using GitHub actions.",
"keywords": [
"narrowspark"
],
"homepage": "http://github.com/narrowspark/php-library-template",
"license": "MIT",
"authors": [
{
"name": "Daniel Bannert",
"email": "[email protected]",
"homepage": "http://www.anolilab.de",
"role": "Developer"
}
],
"require": {
"php": "~8.0.0",
"thecodingmachine/safe": "^1.1.3"
},
"require-dev": {
"ext-json": "*",
"narrowspark/coding-standard": "^5.2.3",
"phpunit/phpunit": "^9.5.2",
"thecodingmachine/phpstan-safe-rule": "^1.0.1"
},
"config": {
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-main": "1.0-dev"
}
},
"autoload": {
"psr-4": {
"Narrowspark\\Library\\": "src/"
},
"exclude-from-classmap": [
"/tests/"
]
},
"autoload-dev": {
"psr-4": {
"Narrowspark\\Library\\Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"cs": "php-cs-fixer fix --config=\"./.php_cs\" --ansi",
"cs:check": "php-cs-fixer fix --config=\"./.php_cs\" --ansi --dry-run",
"infection": "infection --configuration=\"./infection.json\" -j$(nproc) --ansi",
"phpstan": "phpstan analyse -c ./phpstan.neon --ansi --memory-limit=-1",
"phpstan:baseline": "phpstan analyse -c ./phpstan.neon --ansi --generate-baseline --memory-limit=-1",
"psalm": "psalm --threads=$(nproc)",
"psalm:baseline": "psalm --threads=$(nproc) --set-baseline=psalm-baseline.xml",
"psalm:baseline:update": "psalm --threads=$(nproc) --update-baseline",
"psalm:fix": "psalm --alter --issues=all --threads=$(nproc)",
"rector": "rector process --ansi --dry-run",
"rector:fix": "rector process --ansi",
"test": "phpunit",
"test:coverage": "phpunit --coverage-html=./.build/phpunit/coverage"
},
"support": {
"issues": "https://github.com/narrowspark/php-library-template/issues",
"source": "https://github.com/narrowspark/php-library-template"
}
}