laravel request::is code example
Example 1: get value mentthod get laravel
Input::get('lastName') ;
//lastName is variable in view
Example 2: laravel add request
$request->all() + ['index' => 'value'];
Example 3: Laravel, return view with Request::old
$name = Input::get('name');