-
Notifications
You must be signed in to change notification settings - Fork 34
/
composer.json
85 lines (85 loc) · 2.84 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "cakedc/cakephp-api",
"description": "Api plugin for CakePHP",
"type": "cakephp-plugin",
"keywords": [
"cakephp",
"api",
"rest",
"hateoas",
"crud"
],
"homepage": "https://github.com/CakeDC/cakephp-api",
"license": "MIT",
"authors": [
{
"name": "CakeDC",
"homepage": "http://www.cakedc.com",
"role": "Author"
},
{
"name": "Others",
"homepage": "https://github.com/CakeDC/cakephp-api/graphs/contributors"
}
],
"support": {
"issues": "https://github.com/CakeDC/cakephp-api/issues",
"source": "https://github.com/CakeDC/cakephp-api"
},
"require": {
"php": ">=8.1",
"ext-json": "*",
"cakephp/cakephp": "^5.0",
"cakedc/users": "^14.3",
"lcobucci/jwt": "~4.0.0",
"firebase/php-jwt": "^6.3"
},
"require-dev": {
"cakephp/cakephp-codesniffer": "~4.4.0",
"league/flysystem-vfs": "^1.0",
"phpunit/phpunit": "^10.0",
"vlucas/phpdotenv": "^3.3"
},
"autoload": {
"psr-4": {
"CakeDC\\Api\\": "src",
"CakeDC\\Api\\Test\\Fixture\\": "tests\\Fixture"
}
},
"autoload-dev": {
"psr-4": {
"CakeDC\\Api\\Test\\": "tests",
"Cake\\Test\\": "./vendor/cakephp/cakephp/tests"
}
},
"prefer-stable": true,
"minimum-stability": "dev",
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"check": [
"@cs-check",
"@test",
"@analyse"
],
"analyse": [
"@stan",
"@psalm"
],
"cs-check": "phpcs -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/ tests/",
"cs-fix": "phpcbf --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/ tests/",
"test": "phpunit --stderr",
"stan": "phpstan analyse src/",
"psalm": "php vendor/psalm/phar/psalm.phar --show-info=false src/ --update-baseline ",
"stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^1.9.0 psalm/phar:^5.1.0 && mv composer.backup composer.json",
"stan-rebuild-baseline": "phpstan analyse --configuration phpstan.neon --error-format baselineNeon src/ > phpstan-baseline.neon",
"psalm-rebuild-baseline": "php vendor/psalm/phar/psalm.phar --show-info=false --set-baseline=psalm-baseline.xml src/",
"rector": "rector process src/",
"rector-setup": "cp composer.json composer.backup && composer require --dev rector/rector:^0.11.2 && mv composer.backup composer.json",
"coverage-test": "phpunit --stderr --coverage-clover=clover.xml"
}
}