Collection is a functional utility library for PHP that provides a lazy mechanism for working with large data sets while keeping memory usage low. It is immutable, extendable, and leverages PHP generators and iterators. The library allows for the use of any type of keys and preserves keys throughout most operations.
Sort: