laravel add variable to request code example Example: laravel add values to request request()->request->add(['index'=>'value']);