add recipe for indragunawan/api-rate-limit-bundle

This commit is contained in:
Indra Gunawan
2017-12-20 11:41:50 +07:00
parent a2baf461ce
commit 0afd5d7f8c
3 changed files with 19 additions and 0 deletions
@@ -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%/"
}
}