mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
add recipe for indragunawan/api-rate-limit-bundle
This commit is contained in:
+2
@@ -0,0 +1,2 @@
|
||||
indragunawan_api_rate_limit:
|
||||
enabled: false
|
||||
@@ -0,0 +1,9 @@
|
||||
# Read the documentation: https://github.com/IndraGunawan/api-rate-limit-bundle/blob/master/Resources/doc/usage.md
|
||||
indragunawan_api_rate_limit:
|
||||
enabled: true
|
||||
# cache: cache.api_rate_limit
|
||||
# throttle:
|
||||
# default:
|
||||
# limit: 60 # max attempts per period
|
||||
# period: 60 # in seconds
|
||||
# sort: 'rate-limit-desc'
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Indragunawan\\ApiRateLimitBundle\\IndragunawanApiRateLimitBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user