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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| symfony/rate-limiter | 0.85 | 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. | 271 | 274 | 13 | 2M | 0 | 34.9 | 63.4 | MIT | 1 week ago | |
| artisansdk/ratelimiter | 0.85 | 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 | 116K | 1 | 19.2 | 45.1 | MIT | 3 months ago | |
| 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. | 354 | 357 | 31 | 124K | 0 | 26.3 | 39.7 | MIT | 3 months ago | |
| 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 | 13K | 4 | 2.0 | 35.3 | NOASSERTION | 5 years ago | |
| 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. | 130 | 134 | 21 | 117K | 0 | 5.2 | 40.8 | MIT | 1 year ago | |
| danharrin/livewire-rate-limiting | 0.82 | Add rate limiting to Laravel Livewire actions with a simple trait/middleware-style API. Throttle clicks, form submits, and other events to prevent spam and brute force attempts. Configure limits, decay, and messages per component or action. | 405 | 408 | 28 | 2M | 0 | 22.7 | 59.2 | MIT | 2 months ago | |
| graham-campbell/guzzle-factory | 0.82 | Simple factory for creating Guzzle HTTP clients with sensible defaults. One-liner client creation via GuzzleFactory::make(), with optional config like base_uri. Supports PHP 7.4–8.5 and integrates cleanly in modern PHP/Laravel apps. | 91 | 93 | 4 | 173K | 0 | 25.1 | 51.7 | MIT | 2 months 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. | 443 | 450 | 59 | 80K | 0 | 26.6 | 35.2 | MIT | 3 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 | 626 | 0 | 1.1 | 20.9 | 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. | 739 | 752 | 60 | 413K | 0 | 12.4 | 37.9 | 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. | 202 | 206 | 19 | 197 | 0 | 3.4 | 4.1 | 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 | 1 | 0 | 0.1 | 0.3 | MIT | — | |
| spatie/dropbox-api | 0.78 | Minimal PHP client for Dropbox API v2 by Spatie. Provides core endpoints used by their Flysystem Dropbox adapter—create folders, list directories, fetch temporary links, and more. Easy to install via Composer and use with an auth token. | 305 | 311 | 80 | 163K | 0 | 27.3 | 42.5 | MIT | 3 months ago | |
| 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,299 | 1,310 | 116 | 211K | 0 | 32.5 | 34.4 | MIT | 3 months ago | |
| spatie/laravel-url-signer | 0.78 | Sign and validate any URL in Laravel with an expiring signature. Works across apps, uses a configurable secret (not the app key), and includes middleware to protect routes. Generate time-limited links in one call and verify them anywhere. | 719 | 728 | 53 | 19K | 0 | 27.0 | 22.4 | MIT | 3 months ago | |
| spatie/laravel-uptime-monitor | 0.77 | Configurable Laravel uptime monitor that checks site availability and SSL expiry. Sends alerts when a site goes down or recovers using Laravel notifications (Slack, mail, Telegram, or custom channels). Includes scheduling, history, and robust monitoring options. | 1,071 | 1,078 | 179 | 7K | 0 | 34.9 | 13.8 | MIT | 3 months ago | |
| spatie/laravel-littlegatekeeper | 0.77 | Laravel middleware to password-protect your app with a single, universal username/password set in config. Quickly gate staging, previews, or temporary launches without building a full auth system; publish config and enable the provider to lock down pages. | 191 | 193 | 19 | 1K | 0 | 19.8 | 13.7 | MIT | 3 months ago | |
| spatie/test-time | 0.77 | 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 | 149K | 0 | 5.2 | 39.4 | MIT | 2 years ago | |
| spatie/laravel-float-sdk | 0.77 | Laravel-friendly SDK for interacting with the Float.com API (v3). Configure your API token and user agent via .env/config and use the provided FloatClient to access Float endpoints. Not a full API implementation; contributions welcome. | 3 | 3 | 0 | 0 | 0 | 22.1 | — | MIT | 3 weeks ago | |
| spatie/laravel-varnish | 0.73 | Integrate Varnish 4/5 with Laravel: add middleware to force-cache selected routes and flush/purge the Varnish cache from within your app. Includes simple configuration and supports Laravel and Lumen. | 0 | 418 | — | 3K | — | 25.2 | 13.7 | — | — |
How can I help you explore Laravel packages today?