NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #1395 most downloaded on Packagist
A set of useful Laravel collection macros
Latest stable
8.1.0
Last release 9 months ago
20 Feb 2026
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
82 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Added tail, eachCons, sliceBefore and chunkBy
Added tail, eachCons, sliceBefore and chunkBy
Added customization options for sectionBy
sectionBy- Added: sectionBy
sectionByYour coding agent can read these notes before it upgrades. Set up the MCP server →
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
split, partition and mapToAssoctoAssoc to fromPairstoPairs and withSizetoPairs and withSizesplit, partition and mapToAssoctoAssoc to fromPairsremoved split, partition and mapToAssoc
split, partition and mapToAssoctoAssoc to fromPairstoPairs and withSize- Fixed: Tests
- Added: partition method
partition methodsplit 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 collectionversion_compare fix in 5.3 changes
version_compare fix in 5.3 changes
Added: Laravel 5.3 compatibility
maintenance release to kickstart Packagist after composer.json error
composer.json error- Added: dump macro
dump macrorefactored transpose macro. It will throw an exception when invalid input is given and it'll return a collection of collections.
transpose macro. It 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 mapToAssoc macros
assoc and mapToAssoc macrosthe collection will be passed to the callbacks of ifAny and ifEmpty
ifAny and ifEmpty- Initial release
Nothing published for this version
One column per quarter.