forked from JsonMapper/JsonMapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
44 lines (44 loc) · 1.33 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
{
"name": "json-mapper/json-mapper",
"description": "Map JSON structures to PHP classes",
"keywords": [
"json",
"mapper",
"JsonMapper",
"middleware"
],
"type": "library",
"license": "MIT",
"minimum-stability": "stable",
"require": {
"php": "^7.2 || ^8.0",
"ext-json": "*",
"myclabs/php-enum": "^1.7",
"nikic/php-parser": "^4.3",
"psr/log": "^1.1",
"psr/simple-cache": "^1.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.5",
"phpstan/phpstan": "^0.12.14",
"phpunit/phpunit": "^8.0",
"php-coveralls/php-coveralls": "^2.2"
},
"autoload": {
"psr-4": {
"JsonMapper\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"JsonMapper\\Tests\\": "tests/"
}
},
"scripts": {
"phpcs": ["./vendor/bin/phpcs --standard=PSR12 src tests"],
"phpcbf": ["./vendor/bin/phpcbf --standard=PSR12 src tests"],
"phpstan": "./vendor/bin/phpstan analyse",
"unit-tests": "./vendor/bin/phpunit --testsuite unit --testdox --coverage-clover=build/logs/clover-unit-tests.xml",
"integration-tests": "./vendor/bin/phpunit --testsuite integration --testdox --coverage-clover=build/logs/clover-integration-tests.xml"
}
}