nikolaposa / rate-limit

🚔 General purpose rate limiter implementation.
MIT License
269 stars 47 forks source link

Hey, are we expecting future version updates here ? #55

Open OnkarMuke opened 1 year ago

nikolaposa commented 1 year ago

What are you referring to exactly?

OnkarMuke commented 1 year ago

What are you referring to exactly?

I just want to check if there are any new version release plans are there for this package, as I see there have been no new updates in the last 2 years.

OnkarMuke commented 1 year ago

And I have one question though $rateLimiter = new RedisRateLimiter(Rate::perMinute(100), new Redis()); When I tried this it throws an error and says the first parameter should be the Redis instance. can you please explain a bit about what I am doing wrong here?

nikolaposa commented 1 year ago

Which version of the library you're using? There were certain changes and BC breaks in the latest, 3.0.0 version.

OnkarMuke commented 1 year ago

"nikolaposa/rate-limit": "^2.2"

nikolaposa commented 1 year ago

Your example uses v3.0 syntax.