This PHP data collection library is a functional data wrapper and array manipulation framework. It converts arrays, JSON strings, and iterables into chainable collection objects designed for advanced filtering, sorting, and transformation.
The library is distinguished by its ability to dynamically extend functionality through the registration of custom methods via closures. It also provides specialized capabilities for hierarchical data modeling, allowing flat datasets with parent-child identifiers to be reconstructed into nested tree structures.
The toolkit covers a broad surface of data manipulation, including statistical aggregation, bulk string transformations, and element type casting. It provides utilities for data structure transposition, such as flipping keys and values, as well as mechanisms for exporting collections as plain arrays, JSON strings, or HTTP query strings.