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