spatie/guzzle-rate-limiter-middleware
Guzzle middleware to rate-limit HTTP requests by requests/second or requests/minute. When the limit is hit, it sleeps until a slot is available. Includes an in-memory store and supports custom persistence for sharing limits across processes.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| bedrockstreaming/rate-limit-bundle | 0.87 | — | 3 | 3 | 1 | 47 | 1 | 2.8 | 15.3 | — | 3 years ago | |
| devoralive/traffic-limit-bundle | 0.86 | Symfony bundle for rate limiting requests via Redis using SncRedisBundle. Define multiple limit profiles (amount/ttl) and Redis clients in config, then access the generated services from the container to enforce per-key traffic limits. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | GPL-3.0 | 9 years ago | |
| ekreative/ratelimit-bundle | 0.85 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| php-http/throttle-plugin | 0.84 | PSR-7/PSR-18 HTTP client plugin that throttles outgoing requests to control rate and concurrency. Useful for API clients that must respect provider limits, avoid burst traffic, and smooth request flow. | 2 | 2 | 2 | 499 | 1 | 0.2 | 30.7 | MIT | — | |
| spatie/laravel-rate-limited-job-middleware | 0.84 | Laravel job middleware to rate limit queued jobs. Allow a configurable number of jobs per second and automatically release throttled jobs for a delay. Easy to attach per job via middleware, with support for time-based attempts when rate limiting. | 356 | 359 | 31 | 165K | 0 | 23.9 | 40.8 | MIT | 4 months ago | |
| symfony/rate-limiter | 0.84 | Symfony Rate Limiter provides token bucket rate limiting for your app. Create limiters with RateLimiterFactory and a storage backend (e.g., in-memory), then reserve tokens with blocking waits or consume instantly to allow/skip work based on availability. | 270 | 274 | 13 | 2M | 0 | 35.6 | 64.0 | MIT | 3 weeks ago | |
| drefined/ratelimit-bundle | 0.84 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| avtonom/limit-number-calls-bundle | 0.83 | — | 3 | 4 | 0 | 0 | 0 | 0.0 | — | — | — | |
| thamtech/yii2-ratelimiter-advanced | 0.83 | Advanced rate limiter filter for Yii2 using a leaky-bucket algorithm. Define multiple independent limits per action and identifier (IP, user ID, etc.), store allowance/timestamp automatically, customize responses (429, events, headers, callbacks), and support Retry-After. | 41 | 42 | 2 | 11K | 4 | 2.0 | 34.4 | NOASSERTION | 5 years ago | |
| guzzle/common | 0.83 | guzzle/common provides the shared utility layer used by Guzzle: collections, event dispatching, caching helpers, and other common abstractions that power Guzzle HTTP clients and related packages. Useful when maintaining legacy Guzzle 3-based code. | 16 | 14 | 2 | 49K | 0 | 0.1 | 47.8 | — | — | |
| guzzle/http | 0.83 | Legacy Guzzle HTTP component providing request/response objects, message abstractions, and client utilities for making HTTP calls in PHP. Useful for older Guzzle integrations and compatibility layers; for new projects, prefer modern guzzlehttp/guzzle versions. | 32 | 42 | 9 | 51K | 0 | 0.5 | 44.1 | — | — | |
| spatie/packagist-api | 0.82 | Search Packagist and fetch package details via the official Packagist API. Provides a simple PackagistClient built on Guzzle with a URL generator, plus helpers to list all packages or filter by vendor/type, and browse popular packages with pagination. | 131 | 134 | 21 | 136K | 0 | 5.2 | 41.6 | MIT | 1 year ago | |
| artisansdk/ratelimiter | 0.82 | Laravel rate limiting package providing flexible throttling for routes and actions with configurable rules, storage drivers, and easy middleware integration. Helps protect APIs from abuse, control request bursts, and manage per-user or per-IP limits with clear, adjustable settings. | 150 | 151 | 15 | 152K | 1 | 16.3 | 45.8 | MIT | 4 months ago | |
| guzzlehttp/guzzle | 0.81 | Guzzle is a PHP HTTP client for sending sync or async requests with an easy API. Built on PSR-7 and PSR-18, supports middleware, cookies, streaming uploads/downloads, and JSON. Transport-agnostic for flexible integrations. | 23,452 | 24,308 | 2,391 | 19M | 1 | 75.7 | 48.8 | MIT | 1 day ago | |
| spatie/laravel-googletagmanager | 0.80 | Laravel package for easy Google Tag Manager integration. Manage the JavaScript dataLayer from PHP, push variables and events, and include GTM scripts cleanly in your app with simple configuration and helpers. | 444 | 450 | 59 | 82K | 0 | 24.0 | 34.6 | MIT | 5 months ago | |
| spatie/guzzle-redirect-history-middleware | 0.79 | 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 | 395 | 0 | 1.1 | 18.2 | MIT | 4 years ago | |
| spatie/url | 0.78 | 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. | 741 | 754 | 60 | 458K | 0 | 12.4 | 38.6 | MIT | 2 years ago | |
| spatie/laravel-authorize | 0.78 | Route middleware for Laravel authorization. Protect routes and groups using Laravel’s Gate abilities via the can: middleware syntax, with support for route model binding (e.g., can:editPost,post) to authorize access to specific models. | 203 | 207 | 19 | 151 | 0 | 3.4 | 3.3 | MIT | 9 years ago | |
| spatie/laravel4-googletagmanager | 0.78 | Abandoned Laravel 4 package for integrating Google Tag Manager. Provides a facade/service provider to manage the GTM dataLayer and include the container code in your app. For Laravel 5+, use spatie/laravel-googletagmanager. | 14 | 14 | 2 | 0 | 0 | 0.1 | — | MIT | — | |
| spatie/laravel-image-optimizer | 0.78 | Laravel integration for spatie/image-optimizer. Optimize PNG, JPG, SVG, and GIF files by running them through available system binaries. Use the ImageOptimizer facade, resolve an OptimizerChain from the container, or apply middleware to optimize uploads automatically. | 1,306 | 1,314 | 116 | 223K | 0 | 30.0 | 34.1 | MIT | 5 months ago |
How can I help you explore Laravel packages today?