PHPackages                             saloonphp/rate-limit-plugin - 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. [API Development](/categories/api)
4. /
5. saloonphp/rate-limit-plugin

ActiveLibrary[API Development](/categories/api)

saloonphp/rate-limit-plugin
===========================

Handle rate limits beautifully in your Saloon API integrations or SDKs

v2.5.1(3mo ago)211.7M↓31.3%6[2 issues](https://github.com/saloonphp/rate-limit-plugin/issues)[1 PRs](https://github.com/saloonphp/rate-limit-plugin/pulls)20MITPHPPHP ^8.2

Since May 6Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/saloonphp/rate-limit-plugin)[ Packagist](https://packagist.org/packages/saloonphp/rate-limit-plugin)[ Docs](https://github.com/sammyjo20)[ RSS](/packages/saloonphp-rate-limit-plugin/feed)WikiDiscussions v2 Synced 2d ago

READMEChangelog (10)Dependencies (16)Versions (20)Used By (20)

Saloon Rate Limit Plugin
------------------------

[](#saloon-rate-limit-plugin)

Handling rate limits can be hard. This first-party plugin provides you with the tools you need to prevent rate-limits and handle what happens if a rate-limit is exceeded. This plugin allows you to define limits on your connector/request.

### Available Stores

[](#available-stores)

- In-Memory (Array)
- File
- Redis
- Predis
- PSR Cache Store
- Laravel Cache Store

With this plugin, you are be able to define various limits on a per-integration basis. You can also control if Saloon should throw an exception or sleep if a limit is reached. Saloon will keep track of how many requests are made and when a rate-limit is hit, Saloon will prevent further requests on the connector/request until the rate limit has been lifted.

### Installation

[](#installation)

You can install the cache plugin through Composer.

```
composer require saloonphp/rate-limit-plugin "^2.0"

```

### Documentation

[](#documentation)

[Click here to read the documentation](https://docs.saloon.dev/plugins/handling-rate-limits)

###  Health Score

60

—

FairBetter than 98% of packages

Maintenance79

Regular maintenance activity

Popularity51

Moderate usage in the ecosystem

Community31

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 83.5% 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 ~62 days

Recently: every ~26 days

Total

18

Last Release

99d ago

Major Versions

v0.1.2 → v1.0.02023-09-22

v1.x-dev → v2.0.0-beta.12023-09-22

PHP version history (2 changes)v0.0.1PHP ^8.1

v2.1.1PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/de41c8bfde9d0edb25da9fdc159283fe9442e3dc9b651ee9aa7ded8384e5629d?d=identicon)[SamCarre](/maintainers/SamCarre)

---

Top Contributors

[![Sammyjo20](https://avatars.githubusercontent.com/u/29132017?v=4)](https://github.com/Sammyjo20 "Sammyjo20 (71 commits)")[![sirikkoster](https://avatars.githubusercontent.com/u/1142841?v=4)](https://github.com/sirikkoster "sirikkoster (6 commits)")[![JonPurvis](https://avatars.githubusercontent.com/u/7534029?v=4)](https://github.com/JonPurvis "JonPurvis (5 commits)")[![edwinvdpol](https://avatars.githubusercontent.com/u/9265514?v=4)](https://github.com/edwinvdpol "edwinvdpol (1 commits)")[![evan-burrell](https://avatars.githubusercontent.com/u/44360092?v=4)](https://github.com/evan-burrell "evan-burrell (1 commits)")[![yankewei](https://avatars.githubusercontent.com/u/19988359?v=4)](https://github.com/yankewei "yankewei (1 commits)")

---

Tags

saloon

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/saloonphp-rate-limit-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/saloonphp-rate-limit-plugin/health.svg)](https://phpackages.com/packages/saloonphp-rate-limit-plugin)
```

###  Alternatives

[saloonphp/laravel-plugin

The official Laravel plugin for Saloon

807.1M201](/packages/saloonphp-laravel-plugin)[myoutdeskllc/salesforce-php

salesforce library for php8+

1579.5k](/packages/myoutdeskllc-salesforce-php)[codebar-ag/laravel-docuware

DocuWare integration with Laravel

1123.7k](/packages/codebar-ag-laravel-docuware)[codebar-ag/laravel-zammad

Zammad integration with Laravel

107.1k](/packages/codebar-ag-laravel-zammad)

PHPackages © 2026

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