79357662

Date: 2025-01-15 09:33:06
Score: 2
Natty:
Report link

Here's how you can properly attach the ThrottleMiddleware with parameters

use GrahamCampbell\Throttle\Http\Middleware\ThrottleMiddleware;

Route::get('summary/{topicid}/{issueid}', [App\Http\Controllers\SummaryController::class, 'show']) ->middleware([ThrottleMiddleware::class . ':10,30']);

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Imam Hosen Emon