Skip to content

dbappeak/laravel-token-rate-limiter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Token Rate Limiter

A simple, token-based rate limiter middleware for Laravel APIs.
This package limits each token per route to 1 request every TTL seconds (configurable).


🚀 Features

  • Token-based identification via Authorization: Bearer <token>
  • Per-route throttling per token
  • Configurable TTL via published config
  • PSR‑4 autoloaded and Laravel‑package compatible
  • Works with Laravel default cache (file, Redis, etc.)

📦 Installation

composer require chaturbhuj/laravel-token-rate-limiter
php artisan vendor:publish --tag=config

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages