假設有一包資料如下: 想把某個欄位拿掉,可以用forget: $data = $data->map(function($item) { return collect($item)->forget('show_order');}); 本筆記參考:1. https://stackoverflow.com/questions/48690810/how-can-i-delete-a-column-in-a-multi-dimensional-laravel-collection