Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

amir5's avatar

Can't incraese rate limit of child route

In bootstrap/app.php, i've applied a global web throttle of 50/1m, but for specific route group, I want to set different throttle, I've tested using with prefix throttle:300,1,another, but because I'm setting web throttle in bootstrap/app it also increases that:

bootstrap/app.php

$middleware->web(append: [
	'throttle:50,1',
]);

routes/web.php

Route::prefix('test')->middleware('throttle:300,1')->group();

what should I do?

0 likes
2 replies

Please or to participate in this conversation.