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