convert object to collection laravel code example Example: laravel convert eloquent collection to collection collect(Order::get()->all());