PHPackages                             leaducate/stiphle-leaducate - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. leaducate/stiphle-leaducate

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

leaducate/stiphle-leaducate
===========================

Simple rate limiting/throttling for php

0.9.2(8y ago)043MITPHPPHP &gt;=5.3.1

Since Jul 3Pushed 7y agoCompare

[ Source](https://github.com/nllorcaleaducate/stiphle)[ Packagist](https://packagist.org/packages/leaducate/stiphle-leaducate)[ Docs](http://github.com/davedevelopment/stiphle)[ RSS](/packages/leaducate-stiphle-leaducate/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

Stiphle
=======

[](#stiphle)

Install via Composer
--------------------

[](#install-via-composer)

```
composer require davedevelopment/stiphle

```

What is it?
-----------

[](#what-is-it)

Stiphle is a little library to try and provide an easy way of throttling/rate limit requests, for those without fancy hardware etc.

How does it work?
-----------------

[](#how-does-it-work)

You create a throttle, and ask it how long you should wait. For example, given that $identifier is some means of identifying whatever it is you're throttling, and you want to throttle it to 5 requests per second:

```
