-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
79 lines (79 loc) · 2.62 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
{
"name": "lmc/cqrs-bundle",
"description": "A symfony bundle for CQRS library and its extensions for Queries and Commands",
"license": "MIT",
"type": "symfony-bundle",
"require": {
"php": "^8.2",
"ext-json": "*",
"ext-mbstring": "*",
"lmc/cqrs-handler": "^2.2",
"lmc/cqrs-types": "^3.2",
"symfony/config": "^5.2 || ^6.0 || ^7.0",
"symfony/console": "^5.2 || ^6.0 || ^7.0",
"symfony/dependency-injection": "^5.2 || ^6.0 || ^7.0",
"symfony/error-handler": "^5.2 || ^6.0 || ^7.0",
"symfony/framework-bundle": "^5.2 || ^6.0 || ^7.0",
"symfony/http-foundation": "^5.2 || ^6.0 || ^7.0",
"symfony/http-kernel": "^5.2 || ^6.0 || ^7.0",
"twig/twig": "^2.0 || ^3.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.5",
"lmc/coding-standard": "^3.3",
"lmc/cqrs-http": "^3.1",
"lmc/cqrs-solr": "^3.1",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.6",
"phpstan/phpstan-phpunit": "^1.1",
"phpunit/phpunit": "^11.0.4",
"symfony/yaml": "^5.2 || ^6.0 || ^7.0"
},
"suggest": {
"lmc/cqrs-http": "Provides http handler and base types for queries and commands.",
"lmc/cqrs-solr": "Provides solr handler and base types for queries and commands."
},
"autoload": {
"psr-4": {
"Lmc\\Cqrs\\Bundle\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Lmc\\Cqrs\\Bundle\\": "tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
},
"sort-packages": true
},
"scripts": {
"all": [
"@lint",
"@analyze",
"@tests"
],
"analyze": [
"@cs",
"@phpstan"
],
"cs": "vendor/bin/ecs check --ansi src/ tests/ ecs.php",
"fix": [
"vendor/bin/ecs check --ansi --clear-cache --fix src/ tests/ ecs.php",
"@composer normalize"
],
"lint": [
"vendor/bin/parallel-lint -j 10 ./src ./tests",
"@composer validate",
"@composer normalize --dry-run"
],
"phpstan": "vendor/bin/phpstan analyze -c phpstan.neon --ansi",
"tests": "vendor/bin/phpunit",
"tests-ci": "mkdir -p reports && php -dxdebug.coverage_enable=1 vendor/bin/phpunit -c phpunit.xml.dist"
}
}