cartalyst/collections
Cartalyst Collections extends Laravel's Collection with a richer set of array helpers, macros, and utilities for filtering, transforming, and manipulating data. It offers convenient methods for everyday PHP workflows, making complex array operations cleaner and more expressive while staying familiar...
Cartalyst Collections is a lightweight PHP library that wraps native arrays in a fluent, object-oriented Collection class. It brings expressive, chainable methods to array manipulation—making filtering, mapping, sorting, and transforming data cleaner and more readable than raw PHP functions, without requiring a full framework.
The package is framework-agnostic and dependency-free, so it drops easily into any PHP project. Its API emphasizes immutability and method chaining, letting you compose complex data pipelines in a single readable expression.
How can I help you explore Laravel packages today?