make('Illuminate\Contracts\Http\Kernel'); $request = Illuminate\Http\Request::capture(); $response = $kernel->handle($request); $response->send(); $kernel->terminate($request, $response);