79555096

Date: 2025-04-04 10:46:24
Score: 1
Natty:
Report link
header 1 header 2
adding only 1 second addSecond()
adding more than 1 sectond addSeconds()
        $expirationToken = Str::random(40);
        $expirationTime = now()->addSeconds(2);
        Cache::put('token_' . $expirationToken, $expirationTime, 2);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: amit kumar