Closed amireshoon closed 4 years ago
Warning: @amireshoon, your code doesn't support concurrent updates to data file (by dafault ../tmp/rate_limit/rate.limit
), so it is sensitive to data corruption and/or race conditions.
I'm sorry but this is not something that we will be adding to the skeleton. Rate limiting middleware isn't all that common and is quite a complex problem to solve. Starter projects wouldn't be needing this.
Thank you for an attempt at contributing though.
Hey, My changes are all about rate-limiting for PHP and slim. The middleWare was also available on https://github.com/amireshoon/RateLimitMicroFrameWork .