generated from Firehed/php-library-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
55 lines (55 loc) · 1.28 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": "snapauth/sdk",
"description": "SnapAuth SDK",
"keywords": [],
"type": "library",
"license": "BSD-3-Clause",
"authors": [
{
"name": "Eric Stern",
"email": "eric@snapauth.app"
}
],
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"autoload": {
"psr-4": {
"SnapAuth\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"SnapAuth\\": "tests"
}
},
"require": {
"php": "^8.1",
"ext-curl": "*",
"composer-runtime-api": "^2.2"
},
"require-dev": {
"maglnet/composer-require-checker": "^2.0 || ^3.0 || ^4.0",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-strict-rules": "^1.0",
"phpunit/phpunit": "^10.0",
"squizlabs/php_codesniffer": "^3.5"
},
"conflict": {
"nikic/php-parser": "<v4.12"
},
"scripts": {
"test": [
"@phpunit",
"@phpstan",
"@phpcs"
],
"autofix": "phpcbf",
"phpunit": "phpunit",
"phpstan": "phpstan analyse",
"phpstan-baseline": "phpstan analyse --generate-baseline",
"phpcs": "phpcs"
}
}