-
Notifications
You must be signed in to change notification settings - Fork 28
/
composer.json
55 lines (55 loc) · 1.36 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
{
"type": "library",
"name": "touhonoob/rate-limit",
"description": "PHP rate limiting library with Token Bucket Algorithm",
"version": "2.0.2",
"require": {
"php": ">=5.6"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.7",
"jakub-onderka/php-parallel-lint": "^1.0",
"php" : ">7.0",
"phpunit/phpunit": "^6.0",
"predis/predis": "^1.1",
"psr/cache": "^1.0",
"tedivm/stash": "^0.14",
"vimeo/psalm": "*"
},
"suggest": {
"tedivm/stash": "^0.14",
"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]"
},
{
"name": "Peter Chung",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"PalePurple\\RateLimit\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PalePurple\\RateLimit\\Tests\\": "tests/"
}
},
"scripts": {
"build" : [ "@lint", "@check-format", "@psalm", "@test" ],
"psalm" : "@php ./vendor/bin/psalm src",
"lint": "@php ./vendor/bin/parallel-lint --exclude vendor/ .",
"check-format": "@php ./vendor/bin/php-cs-fixer fix --ansi --dry-run --diff",
"format": "@php ./vendor/bin/php-cs-fixer fix --ansi",
"test": "@php ./vendor/bin/phpunit -c tests/phpunit.xml tests/ "
}
}