Categories
Laravel

Laravel Access Route Parameter from Controller

$request->route('parameter_name')

request()->route('parameter_name');

Get all of them…

$request->route()->paremeters()

Leave a Reply

Your email address will not be published. Required fields are marked *