Those are route parameters, they get passed to your controller method as arguments.
public function somemethod($parameter1, $parameter2)
You can also get them from the request:
$request->route('parameter1');
$request->route('parameter2');
$request->route()->parameters(); // to get all the parameters as key => value
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community