-
Notifications
You must be signed in to change notification settings - Fork 49
/
composer.json
60 lines (60 loc) · 1.53 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
{
"name": "nikolaposa/rate-limit",
"description": "General purpose rate limiter implementation.",
"type": "library",
"license": "MIT",
"keywords": [
"rate limit",
"redis"
],
"authors": [
{
"name": "Nikola Poša",
"email": "[email protected]",
"homepage": "https://www.nikolaposa.in.rs"
}
],
"config": {
"sort-packages": true
},
"require": {
"php": "^8.1",
"beberlei/assert": "^3.3"
},
"require-dev": {
"ext-apcu": ">=5.1.12",
"ext-redis": "*",
"friendsofphp/php-cs-fixer": "3.44",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-beberlei-assert": "^1.1",
"phpstan/phpstan-phpunit": "^1.3",
"phpunit/phpunit": "^10.5",
"predis/predis": "^1.1"
},
"suggest": {
"ext-apcu": "In order to use ApcuRateLimiter",
"ext-memcached": "In order to use MemcachedRateLimiter",
"ext-redis": "In order to use RedisRateLimiter",
"predis/predis": "In order to use PredisRateLimiter"
},
"autoload": {
"psr-4": {
"RateLimit\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"RateLimit\\Tests\\": "tests/"
}
},
"scripts": {
"test": "phpunit --colors=always",
"cs-fix": "php-cs-fixer fix --config=.php_cs",
"stan": "phpstan analyse"
},
"extra": {
"branch-alias": {
"dev-master": "3.2.x-dev"
}
}
}