-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
58 lines (58 loc) · 1.31 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
{
"name": "nikolaposa/rate-limit-middleware",
"description": "PSR-15 middleware for rate limiting API or other application endpoints.",
"type": "library",
"license": "MIT",
"keywords": [
"rate limit",
"psr-15",
"middleware"
],
"authors": [
{
"name": "Nikola Poša",
"email": "[email protected]",
"homepage": "https://www.nikolaposa.in.rs"
}
],
"config": {
"sort-packages": true
},
"require": {
"php": "^7.4 || ^8.0",
"beberlei/assert": "^3.2",
"nikolaposa/rate-limit": "^3.0",
"psr/http-server-middleware": "^1.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.1",
"laminas/laminas-diactoros": "^2.2",
"phpstan/phpstan": "^0.12.10",
"phpstan/phpstan-beberlei-assert": "^0.12.2",
"phpstan/phpstan-phpunit": "^0.12.6",
"phpunit/phpunit": "^8.0"
},
"provide": {
"psr/http-server-middleware-implementation": "1.0"
},
"autoload": {
"psr-4": {
"RateLimit\\Middleware\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"RateLimit\\Middleware\\Tests\\": "tests/"
}
},
"scripts": {
"test": "phpunit --colors=always",
"cs-fix": "php-cs-fixer fix --config=.php_cs",
"stan": "phpstan analyse"
},
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
}
}
}