forked from touhonoob/RateLimit
-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
57 lines (57 loc) · 1.48 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
{
"type": "library",
"name": "palepurple/rate-limit",
"description": "PHP rate limiting library with Token Bucket Algorithm, originally touhonoob/rate-limit",
"require": {
"php": ">= 8.0"
},
"require-dev": {
"php-parallel-lint/php-parallel-lint": "^1.0",
"php-coveralls/php-coveralls": "^2.2",
"phpunit/phpunit": "^8|^9",
"predis/predis": "^1.1|2.0",
"psr/cache": "^1.0",
"tedivm/stash": "^0.16|^1.0",
"psalm/phar": "*",
"phpstan/phpstan": "*",
"slevomat/coding-standard": "^8.15"
},
"suggest": {
"tedivm/stash": "^0.15",
"predis/predis": "^1.1",
"ext-redis": "^2.2",
"ext-apc": "^4.0",
"ext-apcu": "^4.0"
},
"license": "MIT",
"authors": [
{
"name": "David Goodwin",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"PalePurple\\RateLimit\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PalePurple\\RateLimit\\Tests\\": "tests/"
}
},
"scripts": {
"build" : [ "@lint", "@check-format", "@psalm", "@phpstan", "@test" ],
"psalm" : "@php ./vendor/bin/psalm.phar src",
"phpstan" : "@php vendor/bin/phpstan analyse --level 6 src",
"lint": "@php ./vendor/bin/parallel-lint --exclude vendor/ .",
"check-format": "@php ./vendor/bin/phpcs src",
"format": "@php ./vendor/bin/phpcbf src",
"test": "@php ./vendor/bin/phpunit"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}