forked from neomerx/json-api
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcomposer.json
70 lines (70 loc) · 1.83 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
{
"name": "laravel-json-api/neomerx-json-api",
"description": "Framework agnostic JSON API (jsonapi.org) implementation",
"keywords": [
"jsonapi.org",
"json-api",
"jsonapi",
"neomerx",
"json",
"api"
],
"homepage": "https://github.com/neomerx/json-api",
"support": {
"issues": "https://github.com/neomerx/json-api/issues"
},
"license": "Apache-2.0",
"authors": [
{
"name": "neomerx",
"email": "[email protected]"
},
{
"name": "Christopher Gammie",
"email": "[email protected]"
}
],
"require": {
"php": "^7.4|^8.0",
"ext-json": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.17",
"mockery/mockery": "^1.4.4",
"phpmd/phpmd": "^2.11.1",
"phpunit/phpunit": "^9.5.10",
"scrutinizer/ocular": "^1.8",
"squizlabs/php_codesniffer": "^3.6.2"
},
"minimum-stability": "stable",
"prefer-stable": true,
"config": {
"sort-packages": true
},
"autoload": {
"psr-4": {
"Neomerx\\JsonApi\\": "src/"
},
"files": ["src/I18n/format.php"]
},
"autoload-dev": {
"psr-4": {
"Neomerx\\Tests\\JsonApi\\": "tests/",
"Neomerx\\Samples\\JsonApi\\": "sample/"
}
},
"extra": {
"branch-alias": {
"dev-develop": "5.x-dev"
}
},
"scripts": {
"test": ["@test-unit", "@test-cs", "@test-md", "@test-cs-fixer"],
"test-unit": "./vendor/phpunit/phpunit/phpunit --coverage-text",
"test-unit-phpdbg": "phpdbg -qrr ./vendor/bin/phpunit --coverage-text",
"test-cs": "./vendor/bin/phpcs -p -s --standard=PSR2 ./src ./tests",
"test-md": "./vendor/bin/phpmd ./src text codesize,controversial,cleancode,design,unusedcode,naming",
"test-cs-fixer": "./vendor/bin/php-cs-fixer fix --no-interaction --diff --dry-run -v",
"cs-fixer": "./vendor/bin/php-cs-fixer fix --diff -v --ansi"
}
}