pricewatch / throttlestorage
PriceWatch ThrottleStorage - phpredis storage for Stiphle library. Stiphle is a little library to try and provide an easy way of throttling/rate limit requests.
dev-master
2020-06-07 17:09 UTC
Requires
This package is auto-updated.
Last update: 2024-11-19 13:40:07 UTC
README
This is a phpredis storage for Stiphle library.
Installation via composer
> composer require pricewatch/throttlestorage
Usage
$throttle = new \Stiphle\Throttle\LeakyBucket(); $storage = new \PriceWatch\ThrottleStorage\Redis(new Redis()); $throttle->setStorage($storage);
License
The MIT License (MIT). Please see License File for more information.