forked from bearsunday/BEAR.Resource
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
64 lines (64 loc) · 1.99 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
{
"name": "bear/resource",
"description": "Hypermedia framework for object as a service",
"keywords": [
"Hypermedia",
"REST",
"HATEOAS",
"Object as a service",
"Protocol"
],
"license": "MIT",
"authors": [
{
"name": "Akihito Koriyama",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.1.0",
"ext-json": "*",
"ray/di": "^2.8.4",
"nocarrier/hal":"^0.9.12",
"doctrine/cache":"^1.8",
"rize/uri-template": "^0.3",
"koriym/http-constants": "^1.1",
"ray/web-param-module": "^2.0.3",
"justinrainbow/json-schema": "^5.2",
"phpdocumentor/reflection-docblock": "^4.3",
"symfony/http-client": "^4.3",
"psr/log": "^1.1"
},
"require-dev": {
"phpunit/phpunit": "^7.5",
"koriym/json-schema-faker": "^0.1.1",
"vimeo/psalm": "dev-master"
},
"autoload": {
"psr-4": {
"BEAR\\Resource\\": ["src/", "src/JsonSchema", "src-deprecated"]
},
"files": [
"src-files/uri_template.php"
],
"exclude-from-classmap": ["/src-deprecated/"]
},
"autoload-dev": {
"psr-4": {
"BEAR\\Resource\\": [
"tests/",
"tests/Fake/"
],
"FakeVendor\\Sandbox\\": "tests/Fake/FakeVendor/Sandbox/",
"FakeVendor\\Blog\\": "tests/Fake/FakeVendor/Blog/src"
},
"files": ["tests/Fake/AppInjector.php"]
},
"scripts" :{
"test": ["phpunit"],
"tests": ["@cs", "phpstan analyse -l max src tests -c phpstan.neon --no-progress", "psalm --show-info=false", "@test"],
"coverage": ["php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage"],
"cs": ["php-cs-fixer fix -v --dry-run", "phpcs --standard=./phpcs.xml src"],
"cs-fix": ["php-cs-fixer fix -v", "phpcbf src"]
}
}