forked from artisansdk/ratelimiter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
41 lines (41 loc) · 1.27 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
{
"name": "artisansdk/ratelimiter",
"description": "A leaky bucket rate limiter and corresponding middleware with route-level granularity compatible with Laravel.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Daniel LaBarge",
"email": "[email protected]"
}
],
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true
},
"require": {
"php": ">=7.0|>=8.0",
"illuminate/contracts": "~5.0|~6.0|~7.0|~8.0|~9.0|~10.0",
"nesbot/carbon": "~1.0|~2.0",
"symfony/http-kernel": "~2.6|~3.3|~4.0|~5.0|~6.0"
},
"require-dev": {
"artisansdk/bench": "~1.0.0-rc2"
},
"autoload": {
"psr-4": {
"ArtisanSdk\\RateLimiter\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ArtisanSdk\\RateLimiter\\Tests\\": "tests/"
}
},
"scripts": {
"fix": "@php vendor/bin/bench fix src/ tests/ --cache=\".php-cs-fixer.cache\" --ansi",
"test": "@php vendor/bin/bench test src/ tests/ --cache=\".php-cs-fixer.cache\" --no-coverage --ansi",
"report": "@php vendor/bin/bench report src/ reports/ --min-lines=3 --min-tokens=35 --ansi"
}
}