-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
50 lines (50 loc) · 1.4 KB
/
composer.json
File metadata and controls
50 lines (50 loc) · 1.4 KB
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
{
"name": "four-bytes/four-rate-limiting",
"description": "Generic rate limiting library for PHP APIs — Token Bucket, Fixed Window, Sliding Window, Leaky Bucket",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "4 Bytes",
"email": "info@4bytes.de"
}
],
"require": {
"php": "^8.4",
"psr/http-message": "^2.0",
"psr/log": "^3.0",
"psr/simple-cache": "^3.0"
},
"suggest": {
"symfony/cache": "PSR-16 implementation for Redis/Memcached/APCu (e.g. symfony/cache)",
"phpfastcache/phpfastcache": "Alternative PSR-16 implementation",
"psr/http-message": "For RateLimitMiddleware HTTP integration"
},
"require-dev": {
"phpunit/phpunit": "^10.0",
"phpstan/phpstan": "^1.10",
"squizlabs/php_codesniffer": "^3.7"
},
"autoload": {
"psr-4": {
"Four\\RateLimit\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Four\\RateLimit\\Tests\\": "tests/"
}
},
"scripts": {
"test": "phpunit",
"test-coverage": "phpunit --coverage-html coverage",
"phpstan": "phpstan analyse src tests",
"cs-check": "phpcs src tests",
"cs-fix": "phpcbf src tests"
},
"config": {
"sort-packages": true
},
"minimum-stability": "stable",
"prefer-stable": true
}