In Laravel you can throttle certain requests. For example you can throttle your login requests by max 5 attempts per minute via middleware or a RateLimiter:
RateLimiter::for('login', function (Request $request) {
return (new Limit('login', '5', 1))
->by($request->email.$request->ip());
});
In this code example, the '5' means the max amount of requests per minute, and the 1 means the decay minutes (every time the limit has been reached, the user will be locked out for 1 minute).
However, how do you increase the decayMinutes everytime the limit has been reached? For example, how would you double this amount each time?