-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
70 lines (70 loc) · 2.55 KB
/
composer.json
File metadata and controls
70 lines (70 loc) · 2.55 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
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
{
"name" : "parcelvalue/api",
"type" : "library",
"description" : "ParcelValue API",
"keywords" : [
"parcelvalue",
"api"
],
"homepage" : "https://github.com/parcelvalue/api",
"license" : "MIT",
"authors" : [
{
"name" : "Radu Maier",
"email" : "ariademur@webserv.co"
}
],
"require": {
"php" : "^8.3",
"firebase/php-jwt": "^6",
"webservco/api" : "^3",
"webservco/framework" : "^13"
},
"require-dev" : {
"pds/skeleton" : "^1",
"phpunit/phpunit" : "^9",
"php-parallel-lint/php-parallel-lint": "^1",
"php-parallel-lint/php-console-highlighter": "^1",
"phpcompatibility/php-compatibility": "^9",
"phpstan/phpstan-strict-rules": "^1",
"phpstan/phpstan" : "^1",
"slevomat/coding-standard": "^8",
"squizlabs/php_codesniffer" : "^3"
},
"suggest" : {
"phpdocumentor/phpdocumentor": "phpDocumentor v3 (global installation)"
},
"autoload" : {
"psr-4" : {
"ParcelValue\\" : "src/ParcelValue/",
"Tests\\" : "tests/unit/ParcelValue/"
}
},
"scripts" : {
"check": "composer lint && composer check:phpc && composer s:8 && composer test",
"doc" : [
"Composer\\Config::disableProcessTimeout",
"clear && phpDocumentor.phar -d . --ignore vendor/ -t var/tmp/phpdoc --cache-folder var/tmp/phpdoc/.cache && browser-sync start --server 'var/tmp/phpdoc'"
],
"check:phpc" : "vendor/bin/phpcs --standard=php-coding-standard.xml --extensions=php -sp src tests",
"check:structure" : "vendor/bin/pds-skeleton validate .",
"fix" : "vendor/bin/phpcbf --standard=php-coding-standard.xml --extensions=php -sp src tests",
"lint": "vendor/bin/parallel-lint src tests",
"s:8": "vendor/bin/phpstan analyse src --level=8 --ansi -c phpstan.neon",
"s:strict": "clear && phpstan analyse src --level=8 --ansi -c phpstan-strict.neon",
"test" : "vendor/bin/phpunit --colors=always",
"test:d" : "vendor/bin/phpunit --testdox",
"post-install-cmd": "bash ./bin/git_hooks/setup.sh",
"post-update-cmd": "bash ./bin/git_hooks/setup.sh"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"audit": {
"ignore": {
"firebase/php-jwt": "Not an option to upgrade, would need to re-generate all client and server keys."
}
}
}
}