-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
executable file
·84 lines (84 loc) · 2.72 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "micro/dto",
"description": "Library for generating and validation DTO classes.",
"license": "MIT",
"type": "library",
"keywords": [
"dto",
"data transfer",
"transfer",
"data",
"object",
"generator",
"data transfer object",
"micro"
],
"authors": [
{
"name": "Stanislau Komar",
"email": "[email protected]"
}
],
"require": {
"php": ">= 8.0",
"ext-dom": "*",
"ext-libxml": "*",
"nette/php-generator": "^4",
"psr/log": "^1 || ^2 || ^3",
"symfony/property-access": "^5.4 || ^6",
"symfony/validator": "^5.4.15 || ^6"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.29",
"friendsofphp/php-cs-fixer": "^3.13",
"phpstan/phpstan": "^1.9",
"phpunit/php-code-coverage": "^9",
"phpunit/phpunit": "^9.6",
"symfony/expression-language": "^5.4 || ^6",
"symfony/intl": "^5.4 || ^6",
"symfony/var-dumper": "^5.4 || ^6",
"vimeo/psalm": "^5.5"
},
"suggest": {
"ext-intl": "You need this PHP extension if you will be using `time_zone` alidator with option `intl_compatible`",
"symfony/expression-language": "You need this package if you will be using `Expression` alidator",
"symfony/intl": "You need this package if you will be using `time_zone` alidator with option `intl_compatible`"
},
"autoload": {
"psr-4": {
"Micro\\Library\\DTO\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"TransferTest\\": "tests/DTO/",
"Micro\\Library\\DTO\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true
},
"sort-packages": true
},
"scripts": {
"coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-text",
"coverage-html": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-html ./test-coverage-report",
"php-cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --verbose --using-cache=no",
"php-cs-try": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --verbose --dry-run --using-cache=no",
"phpstan": "./vendor/bin/phpstan analyze --no-progress",
"phpunit": "./vendor/bin/phpunit",
"psalm": "./vendor/bin/psalm --no-progress --show-info=true --no-cache",
"statics": [
"@phpstan",
"@psalm",
"@php-cs-try"
],
"test": [
"@statics",
"composer validate --strict",
"composer normalize",
"@coverage"
]
}
}