{"repo":"nabilhassen/laravel-usage-limiter","free":true,"listed":false,"github":"https://github.com/nabilhassen/laravel-usage-limiter","clone":"git clone https://github.com/nabilhassen/laravel-usage-limiter.git","description":"A Laravel package to track, limit, & restrict usages of users, accounts, or any other model.","language":"PHP","stars":185,"topics":["api-usage","laravel","resource-usage","resource-usage-tracking","usages","track-usage"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Laravel Usage Limiter Introduction A Laravel package to track, limit, & restrict usages of users, accounts, or any other model. Features - Define usage limits you need for your app per plan - Set reset frequency for each of your limits - Attach usage limits to models (e.g. User model) - Consume and unconsume usage limits whenever a resource is created or deleted - Get usage report of a specific model (e.g. User model) - Check and determine if a model can consume more resources - Manually reset consumed usage limits of a model - Automatically reset consumed usage limits by setting reset frequencies such as every second, every minute, every hour, every day, every month, etc and scheduling a built-in artisan command Use cases Basically with this package you can track your users' or any other models' usages and restrict them when they hit their maximum limits. Example use-cases: - API usages per second, minute, month, etc - Resource creation. E.g: projects, teams, users, products, etc - Resource usages. E.g: storage, etc Versions Compatible for Laravel versions = 12.0 . Quick Tutorial This README documentation serves more as a reference. For a step-by-step getting started tutorial check https://nabilhassen.com/laravel-usage-limiter-manage-rate-and-usage-limits and you can always refer to this README documentation for details and advanced stuff. Installation Install Laravel Usage Limiter using the Composer package manager: Next, you should publish the Laravel Usage Limiter configu","default_branch":null,"files":null,"tree":[],"storefront":"/r/nabilhassen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nabilhassen/laravel-usage-limiter/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."}