-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
41 lines (41 loc) · 911 Bytes
/
composer.json
File metadata and controls
41 lines (41 loc) · 911 Bytes
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
{
"name": "username/package-name",
"type": "library",
"description": "",
"keywords": [],
"homepage": "http://github.com/<username>/<package-name>",
"license": "MIT",
"authors": [
{
"name": "<Your name>"
}
],
"require": {
"php": ">=8.2"
},
"require-dev": {
"phpunit/phpunit": "^11.0",
"squizlabs/php_codesniffer": "^3.9",
"phpstan/phpstan": "^1.10"
},
"autoload": {
"psr-4": {
"ExampleNamespace\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ExampleNamespace\\Tests\\": "tests/"
}
},
"scripts": {
"phpcs": "vendor/bin/phpcs",
"phpunit": "vendor/bin/phpunit",
"phpstan": "vendor/bin/phpstan analyse",
"test": [
"@phpcs",
"@phpstan",
"@phpunit"
]
}
}