Membatasi permintaan untuk pengontrol di Laravel
//Controller add
public function __construct()
{
$this->middleware([
'auth',
//About 20 requests per minute to Cotroller and error if there are too many requests
'throttle:20,1'
]);
}
Shadow