laravel request add parameter 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'];
Input::get('lastName') ;
//lastName is variable in view
$request->all() + ['index' => 'value'];