New RateLimiter facade for defining named rate limiters in Laravel 8
September 14, 2020 — In the previous versions of Laravel, up to 7.x, when you wanted to rate limit certain routes, you could do it by assigning the throttle
middleware to the route or group of routes like so.