NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #1448 most downloaded on Packagist
A set of useful Laravel collection macros
Last release 7 months ago
20 Feb 2026
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 56 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
82 releases · first in 2016
Added: tail, eachCons, sliceBefore and chunkBy
tail, eachCons, sliceBefore and chunkByAdded: customization options for sectionBy
sectionBy- Added: sectionBy
sectionByOne column per quarter.
Fixed: extract now returns an instance of the current collection type
extract now returns an instance of the current collection type- Added: extract
extractAdded: paginate and simplePaginate
paginate and simplePaginate- Added: before and after - Added: collect
before and aftercollectRemoved: split, partition and mapToAssoc
toPairs and withSizesplit, partition and mapToAssoctoAssoc to fromPairsNothing published for this version
- Fixed: Tests
- Added: partition method
partition methodFixed: split doesn't throw an error anymore when trying to split an empty collection
split doesn't throw an error anymore when trying to split an empty collectionFixed: version_compare fix in 5.3 changes
version_compare fix in 5.3 changesAdded: Laravel 5.3 compatibility
*Maintenance release to kickstart Packagist after composer.json error*
composer.json error- Added: dump macro
dump macroChanged: transpose will throw an exception when invalid input is given and it'll return a collection of collections
transpose will throw an exception when invalid input is given and it'll return a collection of collections- Added: transpose macro
transpose macroAdded: assoc and toAssoc macros
assoc and toAssoc macrosChanged: The collection will be passed to the callbacks of ifAny and ifEmpty
ifAny and ifEmpty- Initial release
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →