Laravel: Using the Rate Limiter the easy way

Photo by Jad Limcaco on Unsplash

A simpler way to rate limit

The above works fine most of the time, but instead having to calling the Rate Limiter two times, with the same key, and leaving the logic between the two calls, we can do something more straightforward.

Graphic Designer graduate. Full Stack Web Developer. Retired Tech & Gaming Editor.