-
Notifications
You must be signed in to change notification settings - Fork 18
/
composer.json
97 lines (97 loc) · 3.8 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
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "php-service-bus/service-bus",
"description": "PHP Service Bus (publish-subscribe pattern)",
"type": "library",
"keywords": [
"async-php",
"command-bus",
"messaging",
"saga"
],
"authors": [
{
"name": "Masiukevich Maksim",
"email": "[email protected]",
"homepage": "https://github.com/mmasiukevich",
"role": "Maintainer"
}
],
"license": "MIT",
"autoload": {
"psr-4": {
"ServiceBus\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ServiceBus\\Tests\\": "tests/",
"ServiceBus\\AnnotationsReader\\Tests\\": "vendor/php-service-bus/annotations-reader/tests/",
"ServiceBus\\Cache\\Tests\\": "vendor/php-service-bus/cache/tests/",
"ServiceBus\\Common\\Tests\\": "vendor/php-service-bus/common/tests/",
"ServiceBus\\HttpClient\\Tests\\": "vendor/php-service-bus/http-client/tests/",
"ServiceBus\\MessageSerializer\\Tests\\": "vendor/php-service-bus/message-serializer/tests/",
"ServiceBus\\MessagesRouter\\Tests\\": "vendor/php-service-bus/messages-router/tests/",
"ServiceBus\\Mutex\\Tests\\": "vendor/php-service-bus/mutex/tests/",
"ServiceBus\\Storage\\Tests\\": "vendor/php-service-bus/storage/tests/",
"ServiceBus\\Transport\\Tests\\": "vendor/php-service-bus/transport/tests/",
"ServiceBus\\TelegramBot\\Tests\\": "vendor/php-service-bus/telegram-bot-core/tests/",
"ServiceBus\\EventSourcing\\Tests\\": "vendor/php-service-bus/event-sourcing/tests/",
"ServiceBus\\Sagas\\Tests\\": "vendor/php-service-bus/sagas/tests/",
"ServiceBus\\Scheduler\\Tests\\": "vendor/php-service-bus/scheduler/tests/"
},
"files": [
"tests/functions.php"
]
},
"require": {
"php": ">=8.1",
"ext-pcntl": "*",
"ext-json": "*",
"ext-zlib": "*",
"php-service-bus/http-client": "v5.1.*",
"php-service-bus/common": "v5.1.*",
"php-service-bus/transport": "v5.1.*",
"php-service-bus/storage": "v5.1.*",
"php-service-bus/mutex": "v5.1.*",
"php-service-bus/message-serializer": "v5.1.*",
"php-service-bus/annotations-reader":"v5.1.*",
"php-service-bus/messages-router": "v5.1.*",
"php-service-bus/telegram-bot-core": "v5.1.*",
"php-service-bus/argument-resolver": "v5.1.*",
"symfony/dependency-injection": "v6.0.*",
"symfony/config": "v6.0.*",
"symfony/dotenv": "v6.0.*",
"symfony/yaml": "v6.0.*",
"symfony/validator": "v6.0.*",
"symfony/error-handler": "v6.0.*",
"amphp/log": "v1.1.*",
"amphp/file": "v2.0.*",
"amphp/parallel": "v1.4.*",
"kelunik/retry": "v1.0.*"
},
"require-dev": {
"php-service-bus/code-style-config": "v5.1.*",
"kelunik/loop-block": "v1.0.*",
"phpunit/phpunit": "v9.5.*",
"vimeo/psalm": "v4.22.*",
"phpstan/phpstan": "v1.5.*",
"boesing/psalm-plugin-stringf": "v1.1.*"
},
"prefer-stable": true,
"minimum-stability": "stable",
"scripts": {
"psalm": "rm -rf ~/.cache/psalm/ && ./vendor/bin/psalm --config=psalm.xml",
"phpstan": "./vendor/bin/phpstan analyse src --level 9",
"tests": "./vendor/bin/phpunit --configuration phpunit.xml --verbose --debug",
"coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --configuration phpunit.xml --coverage-html ./coverage --verbose --debug",
"cs-check": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run",
"cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes",
"pre-commit": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes && ./vendor/bin/psalm --config=psalm.xml && ./vendor/bin/phpstan analyse src --level 9 && ./vendor/bin/phpunit --configuration phpunit.xml --verbose"
},
"config": {
"optimize-autoloader": true,
"allow-plugins": {
"composer/package-versions-deprecated": true
}
}
}