Yes.
$request = Request::create('url/here', 'GET', $params);
return Route::dispatch($request)->getContent();
Thanks! Is it possible that $request to be the current request? I tried using $request within a filter (should be the current request) but doesn't work
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community