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