-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
117 lines (117 loc) · 3.61 KB
/
Copy pathcomposer.json
File metadata and controls
117 lines (117 loc) · 3.61 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "jooservices/laravel-controller",
"description": "Laravel API controller foundation for standardized JSON responses, pagination, status endpoints, trace IDs, and custom formatters.",
"type": "library",
"license": "MIT",
"keywords": [
"api",
"api-response",
"base-controller",
"controller",
"formatter",
"jooservices",
"json-response",
"laravel",
"laravel12",
"laravel13",
"pagination",
"php",
"php85",
"response-envelope",
"status-endpoint",
"trace-id"
],
"authors": [
{
"name": "Viet Vu",
"email": "jooservices@gmail.com"
}
],
"support": {
"issues": "https://github.com/jooservices/laravel-controller/issues",
"source": "https://github.com/jooservices/laravel-controller"
},
"require": {
"php": "^8.5",
"illuminate/console": "^12.0|^13.0",
"illuminate/http": "^12.0|^13.0",
"illuminate/routing": "^12.0|^13.0",
"illuminate/support": "^12.0|^13.0"
},
"require-dev": {
"captainhook/captainhook": "^5.23",
"captainhook/plugin-composer": "^5.3",
"friendsofphp/php-cs-fixer": "^3.65",
"laravel/pint": "^1.0",
"orchestra/testbench": "^10.0|^11.0",
"phpmd/phpmd": "^2.15",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^12.0 || ^13.0",
"squizlabs/php_codesniffer": "^3.7 || ^4.0"
},
"autoload": {
"psr-4": {
"JOOservices\\LaravelController\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/",
"App\\": "tests/Fixtures/App/"
}
},
"scripts": {
"test": "vendor/bin/phpunit",
"test:coverage": "vendor/bin/phpunit --coverage-html build/coverage --coverage-clover build/coverage.xml",
"lint:pint": "vendor/bin/pint --test",
"lint:pint:fix": "vendor/bin/pint",
"lint:cs": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --dry-run --diff --sequential",
"lint:cs:fix": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --sequential",
"lint:phpcs": "vendor/bin/phpcs --standard=phpcs.xml",
"lint:phpstan": "XDEBUG_MODE=off vendor/bin/phpstan analyse --configuration=phpstan.neon --memory-limit=512M",
"lint:phpmd": "php -d error_reporting=24575 vendor/bin/phpmd src text phpmd.xml",
"lint": [
"@lint:pint",
"@lint:phpcs",
"@lint:phpstan"
],
"lint:all": [
"@lint",
"@lint:phpmd",
"@lint:cs"
],
"lint:fix": [
"@lint:pint:fix",
"@lint:cs:fix"
],
"analyse": "@lint:phpstan",
"check": [
"@lint:all",
"@test"
],
"ci": [
"@lint:all",
"@test:coverage"
],
"post-install-cmd": "captainhook install --force --skip-existing",
"post-update-cmd": "captainhook install --force --skip-existing"
},
"extra": {
"laravel": {
"providers": [
"JOOservices\\LaravelController\\Providers\\LaravelControllerServiceProvider"
]
}
},
"config": {
"sort-packages": true,
"allow-plugins": {
"captainhook/plugin-composer": true,
"pestphp/pest-plugin": true
}
},
"minimum-stability": "stable",
"prefer-stable": true
}