PHPackages                             jonathanstaniforth/laravel-with-limits - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. jonathanstaniforth/laravel-with-limits

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

jonathanstaniforth/laravel-with-limits
======================================

Laravel with limits is a Laravel package that handles API rate limits, down to the method level. The package will read rate limit headers and keep track of requests to prevent exceeding rate limits. GuzzleHttp is used to send requests and receive responses.

v1.0.6(6y ago)19MITPHPPHP ^7.1

Since Nov 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/jonathanstaniforth/laravel-with-limits)[ Packagist](https://packagist.org/packages/jonathanstaniforth/laravel-with-limits)[ Docs](https://github.com/jonathanstaniforth/laravel-with-limits)[ RSS](/packages/jonathanstaniforth-laravel-with-limits/feed)WikiDiscussions master Synced yesterday

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

Laravel with limits
===================

[](#laravel-with-limits)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7997628e9e9a798d48046ff67fbfa49656eafbf770d90afad1c6f65cdc619d8d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6f6e617468616e7374616e69666f7274682f6c61726176656c2d776974682d6c696d6974732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jonathanstaniforth/laravel-with-limits)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/d0ee130bbc0d43393cbf800b26f95c185d249c2c54c723b9699e6a8b691fc3f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6f6e617468616e7374616e69666f7274682f6c61726176656c2d776974682d6c696d6974732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jonathanstaniforth/laravel-with-limits)

Laravel with limits is a Laravel package that handles API rate limits, down to the method level. The package will read rate limit headers and keep track of requests to prevent exceeding rate limits. GuzzleHttp is used to send requests and receive responses.

Install
-------

[](#install)

Via Composer

```
$ composer require jonathanstaniforth/laravel-with-limits
```

Usage
-----

[](#usage)

```
$request = new LaravelWithLimits\Request();

$response = $request->method('GET')
    ->path('static-data/v3/champions')
    ->withParameters(['locale' => 'en_GB', 'tags' => 'all'])
    ->withLimit(function ($rate_limit) {
        $rate_limit->api('riot')
            ->endpoint('static-data/v3/champions')
            ->header('X-Method-Rate-Limit');
    })->send();
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Jonathan Staniforth](https://github.com/jonathanstaniforth)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~151 days

Recently: every ~226 days

Total

7

Last Release

2207d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b662469f0750fa2104bd0ed065ca080e5e9362b99065e3117b7d56afb2853b5?d=identicon)[jonathanstaniforth](/maintainers/jonathanstaniforth)

---

Top Contributors

[![theconsolelogger](https://avatars.githubusercontent.com/u/6412722?v=4)](https://github.com/theconsolelogger "theconsolelogger (20 commits)")

---

Tags

httplaravelrate-limithttplaravelguzzlehttprate limit

### Embed Badge

![Health badge](/badges/jonathanstaniforth-laravel-with-limits/health.svg)

```
[![Health](https://phpackages.com/badges/jonathanstaniforth-laravel-with-limits/health.svg)](https://phpackages.com/packages/jonathanstaniforth-laravel-with-limits)
```

###  Alternatives

[graze/guzzle-jsonrpc

JSON-RPC 2.0 client for Guzzle

981.2M24](/packages/graze-guzzle-jsonrpc)[kozz/laravel-guzzle-provider

Guzzle 5/6 Service Provider for Laravel

621.1M2](/packages/kozz-laravel-guzzle-provider)[laragear/api-manager

Manage multiple REST servers to make requests in few lines and fluently.

161.8k](/packages/laragear-api-manager)[behamin/service-proxy

for proxy or sending requests to other services with useful utilities

102.2k](/packages/behamin-service-proxy)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
