spatie/guzzle-rate-limiter-middleware
A Guzzle middleware that enforces rate limits by specifying max requests per minute or second. When the limit is reached, requests sleep until allowed. Includes an InMemoryStore and supports custom persistent stores for cross-process rate limiting.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/url | 0.89 | Immutable URL parser/builder for PHP. Parse scheme, host, path and query, then fluently transform parts (withHost, withPath, withScheme) and manage query parameters. Supports allowed/sanitized schemes for safer URL handling. | 738 | 751 | 59 | 683K | 0 | 12.5 | 41.0 | MIT | 2 years ago | |
| spatie/crypto | 0.89 | Generate RSA key pairs and encrypt/decrypt (and sign/verify) data using private/public keys in PHP. Provides simple wrappers around OpenSSL for better DX, with support for loading keys from files and writing generated keys to disk. | 484 | 487 | 60 | 32K | 0 | 11.5 | 26.2 | MIT | 9 months ago | |
| spatie/fractalistic | 0.88 | Developer-friendly wrapper around League Fractal to transform API data with less boilerplate. Build resources, apply transformers, includes, and output arrays with a fluent API or one-liner syntax. Great for PHP projects; Laravel users may prefer laravel-fractal. | 383 | 385 | 32 | 429K | 0 | 17.2 | 44.3 | MIT | 8 months ago | |
| spatie/spatie-price-api | 0.88 | A small Laravel package that retrieves product prices from the spatie.be API, used on promotional sites for Spatie's own products. Open source but not intended for third-party use. | 15 | 15 | 0 | 1K | 0 | 22.8 | 29.6 | MIT | 1 month ago | |
| spatie/http-status-check | 0.88 | CLI tool to crawl a website and report HTTP status codes for every link. Scan internal and optionally external URLs, control concurrency for speed, and export failing (non-2xx/3xx) links to a file for quick auditing. | 600 | 603 | 85 | 30 | 0 | 6.1 | 0.2 | MIT | 3 years ago | |
| spatie/7to5 | 0.88 | Abandoned. Converts PHP 7.0 code to PHP 5, useful when developing on PHP 7 but deploying to PHP 5. Provides a CLI to convert entire directories and rewrites features like anonymous classes, type hints, return types, and null coalescing. | 177 | 175 | 32 | 47 | 0 | 2.6 | 1.0 | MIT | 8 years ago | |
| spatie/test-time | 0.88 | Control time in tests with Spatie TestTime—freeze or advance Carbon-based timestamps dynamically for time-sensitive assertions. Simplify testing date-dependent logic by manually adjusting time without altering real-world clocks. Works seamlessly with Carbon’s methods like addYear(), subDay(), or cus... | 208 | 208 | 9 | 245K | 0 | 5.2 | 42.4 | MIT | 2 years ago | |
| spatie/guzzle-redirect-history-middleware | 0.88 | Guzzle middleware that records redirect chains for each request. Attach RedirectHistoryMiddleware to your handler stack to capture every Location hop and inspect the final URL and intermediate redirects via a RedirectHistory instance. | 19 | 19 | 4 | 434 | 0 | 1.1 | 18.7 | MIT | 5 years ago | |
| spatie/once | 0.88 | A tiny PHP helper to run code only once per request. Cache expensive computations or object initialization in a single spot, keyed automatically by the call site. Great for computed properties, accessors, and avoiding duplicate work. | 1,443 | 1,450 | 62 | 326K | 0 | 33.9 | 38.0 | MIT | 2 weeks ago | |
| spatie/query-string | 0.88 | Manipulate URLs by building and updating query strings in PHP. Toggle parameters or values, add JSON:API-style filters and sorts, and manage pagination. Useful for generating links and keeping state in apps without manual query parsing. | 161 | 162 | 9 | 19K | 0 | 2.0 | 28.8 | MIT | 5 years ago | |
| spatie/visit | 0.88 | Human-friendly curl for the terminal. Visit any URL and display its response with colorized output (HTML via bat, JSON via jq), plus status code and response time. Supports custom HTTP methods and options like following redirects. | 390 | 390 | 14 | 1 | 0 | 7.5 | 0.0 | — | 1 year ago | |
| spatie/fork | 0.87 | Run PHP code concurrently with spatie/fork, which forks the main process into child tasks. Pass multiple closures to run at the same time, then collect results in order. Requires PHP 8 and the pcntl extension, and works in CLI only, not web contexts. | 1,050 | 1,052 | 120 | 306K | 0 | 35.1 | 40.1 | MIT | 2 days ago | |
| spatie/crawler | 0.87 | A powerful PHP package for crawling websites, using Guzzle promises to fetch multiple URLs concurrently. It can render JavaScript via Chrome and Puppeteer, restrict crawls to internal links or depth, collect found URLs, and fake HTTP responses for testing crawl logic. | 2,829 | 2,843 | 368 | 1M | 0 | 52.5 | 41.5 | MIT | 2 months ago | |
| ekreative/ratelimit-bundle | 0.86 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| beyondcode/laravel-fixed-window-limiter | 0.86 | A Laravel rate limiter using fixed time windows instead of the default sliding windows, so limits reset predictably. Useful for API throttling where you need strict, evenly spaced counters per window. | 67 | 69 | 0 | 0 | 0 | 0.3 | — | MIT | 6 years ago | |
| illuminate/queue | 0.86 | The Laravel Queue component offers a unified API across multiple queue backends, letting you defer time-consuming tasks like sending email until later so web requests stay fast. Includes a Capsule for easy standalone configuration outside Laravel. | 34,987 | 212 | 12,028 | 698K | 55 | 78.2 | 53.3 | MIT | 3 days ago | |
| perimeter/rate-limit-bundle | 0.86 | perimeter/rate-limit-bundle adds configurable rate limiting to Symfony applications, helping protect APIs, controllers, and routes from abuse. Define limits, choose storage, and throttle requests with minimal setup and flexible integration. | 41 | 41 | 4 | 0 | 0 | 0.6 | — | MIT | 11 years ago | |
| spatie/async | 0.85 | Run PHP tasks in parallel with a simple Pool API built on PCNTL. Add closures, handle results via then/catch, and wait for completion. Ideal for speeding up batch jobs, CPU-heavy work, and IO-bound processing with multiple processes. | 2,808 | 2,825 | 185 | 184K | 0 | 33.6 | 26.4 | MIT | 8 months ago | |
| hamburgscleanest/guzzle-advanced-throttle | 0.85 | Advanced Throttle adds flexible rate-limiting middleware to Guzzle, letting PHP and Laravel apps enforce multiple request limits, use cache or Redis storage, and avoid API overages with configurable buckets, per-host rules, and smooth request spacing. Ideal for reliable API clients. | 0 | 130 | — | 15 | — | 0.0 | 16.6 | — | — | |
| zaber-dev/laravel-quota | 0.85 | Laravel Quota tracks and enforces application-level usage budgets across daily, weekly, monthly, or custom periods. Store quotas in cache or database, attach them to Eloquent models, protect routes with middleware, and extend with custom backends. Complements RateLimiter. | 110 | 108 | 5 | 2K | 0 | 15.2 | 19.3 | MIT | 3 months ago |
How can I help you explore Laravel packages today?