PriceWatch ThrottleStorage - phpredis storage for Stiphle library. Stiphle is a little library to try and provide an easy way of throttling/rate limit requests.
This is a phpredis storage for Stiphle library.
> composer require pricewatch/throttlestorage
$throttle = new \Stiphle\Throttle\LeakyBucket(); $storage = new \PriceWatch\ThrottleStorage\Redis(new Redis()); $throttle->setStorage($storage);
The MIT License (MIT). Please see License File for more information.