pragmarx/coollection
Coollection repackages Laravel-style collections (via Tightenco\Collect) to let you access items as object properties. Traverse nested arrays/objects with fluent collection methods, then read values like $countries->where('name.common','US')->first()->currency->name.
pragmarx/coollection repackages Illuminate\Collection (via Tightenco\Collect) to let you access nested collection data using object property syntax. Instead of $item['name'], you can write $collection->name, making deeply nested traversal feel natural and readable.
Designed to be Laravel-agnostic while remaining compatible with Laravel apps, Coollection keeps the familiar Collection API but adds effortless dot/object-style access for arrays and nested structures.
$collection->addresses->first()->street_namewhere(), filter(), flatten(), first(), last()$countries->where('name.common','United States')->first()->currency->name->englishHow can I help you explore Laravel packages today?