concat() function using laravel update query $driver_update = Driver::where('id',$id)->update(['service_ids' => DB::raw('concat(service_ids,",","'.$service_id.'")')]);