{"repo":"zaber-dev/laravel-quota","free":true,"listed":false,"github":"https://github.com/zaber-dev/laravel-quota","clone":"git clone https://github.com/zaber-dev/laravel-quota.git","description":"Application-level quota management for Laravel with calendar periods, Eloquent integration, middleware, and multiple storage backends.","language":"PHP","stars":106,"topics":["database","eloquent","laravel","laravel-11","laravel-12","laravel-13","laravel-package","middleware","php","quota"],"license":"MIT","category":"databases-storage","readme_excerpt":"Laravel Quota Supports: Laravel 11, 12 & 13+ • PHP 8.2+ • Redis • Memcached • Database Application-level quota management for Laravel. Track and enforce usage limits across daily, weekly, monthly, or custom time periods. Manage quotas with a clean, expressive API using cache or persistent database storage, attach them directly to Eloquent models, protect routes with declarative middleware, and extend the package with custom storage backends. Unlike Laravel's RateLimiter , which focuses on request throttling, Laravel Quota manages cumulative usage budgets over calendar periods such as daily, weekly, monthly, or custom windows. --- Quick Example --- Common Use Cases Laravel Quota is ideal for: - Monthly PDF export budgets - AI credits & prompt limits - API monthly request quotas - Tier-based billing restrictions - Team / workspace creation caps - File storage upload thresholds - Weekly newsletter dispatch budgets - Daily transaction volume limits --- Why not RateLimiter? Laravel's RateLimiter is excellent for protecting endpoints from bursts of traffic. Laravel Quota doesn't replace RateLimiter. Instead, it complements it by managing cumulative usage across longer calendar periods. Laravel Quota focuses on application-level usage budgets with: - Monthly allocations - Daily limits - Team budgets - Usage metering - Calendar windows - Remaining capacity - Rich DTOs - Eloquent integration - Database persistence Feature Laravel RateLimiter Laravel Quota :--- :---: :---: Primary Purp","default_branch":null,"files":null,"tree":[],"storefront":"/r/zaber-dev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zaber-dev/laravel-quota/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}