$request append laravel code example Example: laravel add request $request->all() + ['index' => 'value'];