loophp/collection
A high-performance, functional-style collection library for PHP. Provides lazy, immutable, chainable operations built on generators to map, filter, reduce, group, zip, and more. Works standalone or with Laravel, aiming for speed, memory efficiency, and fluent pipelines.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| cakephp/collection | 0.87 | CakePHP Collection offers a powerful, fluent API for working with arrays and traversables. Map, filter, reduce, group, sort, extract, and combine data with immutable-style operations and lazy iteration helpers—ideal for clean data pipelines in PHP apps. | 90 | 96 | 6 | 63K | 0 | 0.6 | 39.2 | NOASSERTION | — | |
| loophp/iterators | 0.86 | loophp/iterators adds “missing” PHP iterators and iterator aggregates for lazy, composable pipelines: caching rewindable generators, chunk/map/filter/reduce/sort/unique/concat/pack/unpack, plus typed, random, recursive, and resource-based iterables. | 37 | 38 | 6 | 28K | 1 | 9.6 | 39.6 | MIT | 1 year ago | |
| atournayre/collection | 0.85 | Type-safe PHP collections with list/map factories, plus immutable variants. Includes DecimalValue collections with consistent precision handling. Build domain-specific collections by extending TypedCollection to enforce item types and safe manipulation. | 0 | 0 | 0 | 4 | 0 | 3.6 | 9.7 | MIT | 2 years ago | |
| illuminate/collections | 0.85 | Illuminate Collections provides a fluent, chainable API for working with arrays and iterables in PHP. Includes Collection and LazyCollection with powerful mapping, filtering, grouping, sorting, and higher-order operations, used widely across Laravel and standalone projects. | 270 | 290 | 47 | 2M | 0 | 2.8 | 53.4 | MIT | — | |
| doctrine/collections | 0.84 | Doctrine Collections provides a lightweight, flexible collection abstraction for PHP. It offers ArrayCollection and collection interfaces with rich filtering, mapping, matching, and criteria-based querying, useful as a foundation for domain models and ORM-friendly data handling. | 5,980 | 6,017 | 182 | 6M | 28 | 9.3 | 55.3 | MIT | 1 month ago | |
| phpcollection/phpcollection | 0.84 | PHP Collection provides a flexible, object-oriented collection library for PHP. It offers common collection types and utilities to manage groups of objects consistently, with a clean API and solid documentation. Ideal for domains needing reusable collection abstractions. | 967 | 1,001 | 50 | 231K | 9 | 10.4 | 36.2 | Apache-2.0 | 4 years ago | |
| tightenco/collect | 0.84 | A standalone port of Laravel’s Illuminate\Support\Collection for non-Laravel projects. Get expressive, chainable, higher-order methods like map, filter, reduce, pluck, groupBy, and more with minimal dependencies—ideal for any PHP app. | 1,495 | 1,541 | 111 | 122K | 3 | 10.4 | 19.4 | — | 3 years ago | |
| cscfa_tool_division/collections | 0.83 | — | 0 | 1 | 0 | 0 | 0 | 0.6 | — | MIT | 9 years ago | |
| alexeyshockov/colada | 0.83 | — | 31 | 32 | 6 | 1 | 0 | 0.2 | 0.1 | MIT | — | |
| php-standard-library/iter | 0.83 | Inspect and reduce any PHP iterable (arrays, generators, iterators) with small, focused helpers from PHP Standard Library - Iter. Designed for common iteration tasks and consistent behavior across iterable types. | 1 | 1 | 0 | 31K | 0 | 21.2 | 64.8 | MIT | 2 weeks ago | |
| pragmarx/coollection | 0.83 | 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. | 94 | 98 | 27 | 22K | 1 | 1.4 | 32.5 | MIT | — | |
| wp-starter/collections | 0.83 | Laravel-friendly collection utilities for WordPress projects. Adds helpful helpers and abstractions around arrays and iterable data to make transforming, filtering, and mapping data easier in WP-driven apps, plugins, and themes with a modern PHP approach. | 0 | — | 0 | — | 0 | 0.0 | — | MIT | 3 years ago | |
| php-standard-library/collection | 0.82 | Object-oriented Vector, Map, and Set collections for PHP with both immutable and mutable variants. Part of PHP Standard Library, focused on generic, reusable data structures with consistent APIs. Docs and contribution links available at php-standard-library.dev. | 1 | 1 | 0 | 30K | 0 | 21.2 | 64.9 | MIT | 2 weeks ago | |
| cakephp/core | 0.81 | Core framework utilities for CakePHP: shared classes for configuration, routing, events, cache/logging, error handling, and common helpers used across CakePHP applications and plugins. Provides the foundational building blocks that other CakePHP packages depend on. | 61 | 65 | 4 | 589K | 0 | 0.4 | 55.0 | NOASSERTION | — | |
| phootwork/collection | 0.81 | phootwork/collection is a lightweight PHP collection library providing convenient data structures and fluent helpers to work with arrays and iterables. Includes common operations like map/filter/reduce, searching, sorting, and easy conversion between collection types. | 0 | 40 | — | 1M | — | 8.1 | 55.3 | — | — | |
| zenstruck/collection | 0.81 | A lightweight PHP collection library by Zenstruck offering fluent, immutable-style operations for arrays and iterables. Provides map/filter/reduce, grouping, sorting, slicing, and helpful utilities to work with data sets cleanly in Laravel or standalone PHP. | 18 | 18 | 3 | 57K | 1 | 14.0 | 52.5 | MIT | 6 months ago | |
| guzzle/common | 0.80 | guzzle/common provides the shared utility layer used by Guzzle: collections, event dispatching, caching helpers, and other common abstractions that power Guzzle HTTP clients and related packages. Useful when maintaining legacy Guzzle 3-based code. | 16 | 14 | 2 | 49K | 0 | 0.1 | 47.8 | — | — | |
| anahkiasen/underscore-php | 0.80 | Underscore.php brings functional helpers to PHP inspired by Underscore.js. Chainable, collection and array utilities like map, filter, reduce, groupBy, sortBy, pluck, and more. Handy for concise data manipulation in any PHP project, including Laravel. | 1,110 | 1,108 | 89 | 31K | 29 | 8.8 | 22.3 | — | — | |
| php-standard-library/foundation | 0.80 | A lightweight PHP foundation library offering common building blocks and utilities to bootstrap projects. Provides reusable helpers and core abstractions to reduce boilerplate and standardize patterns across apps and packages. | 1 | 1 | 0 | 33K | 0 | 21.2 | 64.8 | MIT | 2 weeks ago | |
| cvek/collection | 0.80 | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | — | — |
How can I help you explore Laravel packages today?