laravel create new request

Solutions on MaxInterview for laravel create new request by the best coders in the world

showing results for - "laravel create new request"
Luc
24 Jan 2017
1$myRequest = new \Illuminate\Http\Request();
2$myRequest->setMethod('POST'); //default METHOD
3$myRequest->request->add(['foo' => 'bar']);
4dd($request->foo);