-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
55 lines (55 loc) · 1.81 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
{
"name": "ksaveras/circuit-breaker",
"type": "library",
"description": "Circuit Breaker library",
"keywords": ["circuit breaker", "graceful", "error handling", "fault tolerance", "microservices"],
"license": "MIT",
"authors": [
{
"name": "Ksaveras Sakys",
"email": "xawiers@gmail.com"
}
],
"require": {
"php": "^7.2.5",
"psr/event-dispatcher": "^1.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.16",
"phpstan/phpstan": "^0.12.5",
"phpstan/phpstan-phpunit": "^0.12.6",
"phpunit/phpunit": "^8.5",
"predis/predis": "^1.1",
"symfony/cache": "^4.0|^5.0",
"symfony/phpunit-bridge": "^4.0|^5.0"
},
"autoload": {
"psr-4": {
"Ksaveras\\CircuitBreaker\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Ksaveras\\CircuitBreaker\\Tests\\": "tests"
}
},
"suggest": {
"ext-apcu": "Allows storing circuit breaker data in APCu",
"ext-phpiredis": "Allows faster serialization and deserialization of the Redis protocol",
"predis/predis": "Allows storing circuit breaker data in Redis without PHP extension",
"symfony/event-dispatcher": "Allows firing events on circuit state change",
"symfony/cache": "Allows storing circuit breaker data using Symfony Cache Component"
},
"scripts": {
"phpcsfix": "@php ./vendor/bin/php-cs-fixer fix",
"phpcscheck": "@php ./vendor/bin/php-cs-fixer fix --dry-run --diff --diff-format=udiff",
"phpstan": "@php ./vendor/bin/phpstan analyse src tests",
"test": "@php -dapc.enable_cli=1 ./vendor/bin/phpunit"
},
"config": {
"sort-packages": true,
"platform": {
"php": "7.2.5"
}
}
}