Monotote wins the eBay Nova Award

I’m very proud to share that Monotote has won the eBay “Nova award” at the eBay Connect conference 2019!

Read our press release @ https://www.monotote.com/2019/08/12/monotote-won-the-ebay-nova-award/.

Source: https://www.ebayinc.com/stories/news/5-takeaways-from-ebay-connects-developer-conference/

Laravel Rate Limiter

While Laravel does support throttling (for routes, and for queues), you might run into use-cases where you need more custom rate limiting logic.

This package contains such logic: https://packagist.org/packages/cschalenborgh/laravel-rate-limiter

The package leverages the default cache provider, configured in your Laravel setup.

 

Here’s an example:

use Cschalenborgh\RateLimiter\RateLimiter;
 
$rate_limiter = new RateLimit('action_name', 5, 60); // max 5 times in 60 seconds
 
if ($rate_limiter->check($lock_identifier)) {
    // perform some action
} else {
    // oops.. limit reached
}