-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
38 lines (37 loc) · 1.25 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
{
"name": "softonic/laravel-request-accept-json-middleware",
"type": "library",
"description": "Laravel middleware to add Accept application/json header to requests",
"keywords": ["json", "request", "middleware", "laravel"],
"license": "Apache-2.0",
"homepage": "https://github.com/softonic/laravel-request-accept-json-middleware",
"support": {
"issues": "https://github.com/softonic/laravel-request-accept-json-middleware/issues"
},
"require": {
"php": ">=8.2",
"illuminate/http": "^11.0",
"illuminate/contracts": "^11.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.68",
"mockery/mockery": "^1.2",
"phpunit/phpunit": "^9.0"
},
"autoload": {
"psr-4": {
"Softonic\\RequestAcceptJson\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Softonic\\RequestAcceptJson\\Tests\\": "tests/"
}
},
"scripts": {
"tests": "phpunit --coverage-text; php-cs-fixer fix -v --diff --dry-run --allow-risky=yes;",
"phpunit": "phpunit --coverage-text",
"phpcs": "php-cs-fixer fix -v --diff --dry-run --allow-risky=yes;",
"fix-cs": "php-cs-fixer fix -v --diff --allow-risky=yes;"
}
}