php-standard-library/collection
Generic, object-oriented Vector, Map, and Set collections for PHP with both immutable and mutable variants. Part of PHP Standard Library; designed for a consistent, type-friendly API. Full docs at php-standard-library.dev.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-standard-library/php-standard-library | 0.91 | PSL (PHP Standard Library) is a well-typed, centralized API set for PHP 8.4+ covering async, collections, networking, I/O, crypto, terminal UI, and more. It replaces unsafe PHP primitives with predictable, async-ready alternatives and includes composable type-safe validation. | 1,560 | 1,560 | 90 | 269K | 21 | 43.3 | 44.3 | MIT | 2 months ago | |
| hiqdev/yii2-collection | 0.87 | Yii2 extension that integrates hiqdev/php-collection, providing collection data structures and helpers for Yii2 apps. Install via Composer and use a consistent, reusable collection API within your Yii2 project. | 7 | 10 | 3 | 235 | 0 | 1.9 | 20.5 | BSD-3-Clause | 9 years ago | |
| cscfa_tool_division/collections | 0.86 | — | 0 | 1 | 0 | 0 | 0 | 0.6 | — | MIT | 9 years ago | |
| php-standard-library/foundation | 0.86 | 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 | 48K | 0 | 17.7 | 63.1 | MIT | 2 months ago | |
| atournayre/collection | 0.86 | 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 | 0 | 0 | 3.6 | — | MIT | 2 years ago | |
| anahkiasen/underscore-php | 0.85 | 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,107 | 1,108 | 87 | 25K | 29 | 8.7 | 21.5 | — | — | |
| minwork/array | 0.85 | Minwork Array provides fast, well-tested helpers for nested, associative, and object arrays. Get/set/has plus map, filter, find, group, sort, and validation, with fluent-style chaining. No dependencies; modern PHP syntax. | 63 | 66 | 13 | 4K | 1 | 5.4 | 25.0 | MIT | 6 years ago | |
| alexeyshockov/colada | 0.85 | — | 31 | 32 | 6 | 0 | 0 | 0.2 | — | MIT | — | |
| myerscode/utilities-bags | 0.85 | Immutable “Bag” utilities for fluent manipulation of collection/array data in PHP. Provides a helper class with chainable methods for reading, transforming, and managing data safely without mutation; includes usage and method docs, plus tests and coverage. | 1 | 1 | 0 | 514 | 0 | 14.0 | 37.3 | MIT | 4 months ago | |
| digitalrevolution/utils | 0.84 | — | 1 | 1 | 8 | 2K | 1 | 24.5 | 48.2 | MIT | 3 months 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 | 110 | 120K | 3 | 10.3 | 19.3 | — | 3 years ago | |
| doctrine/collections | 0.84 | Doctrine Collections is a lightweight abstraction for working with arrays and object sets in PHP. Provides Collection interfaces and implementations like ArrayCollection, plus filtering, mapping, criteria-based matching, and iteration utilities used across Doctrine projects. | 5,978 | 6,017 | 186 | 6M | 28 | 63.3 | 57.1 | MIT | 3 months ago | |
| c33s/utils | 0.84 | General-purpose PHP utilities for everyday development: helpers for strings, arrays, filesystem, debugging, and common convenience functions. Designed to be lightweight, easy to drop into existing projects, and useful across Laravel and plain PHP apps. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| pragmarx/coollection | 0.84 | 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 | 25K | 1 | 1.4 | 33.3 | MIT | — | |
| appsco/component-firi | 0.84 | — | 0 | 0 | 2 | 0 | 0 | 0.7 | — | — | 7 years ago | |
| yansongda/supports | 0.84 | — | 21 | 21 | 18 | 19K | 0 | 2.1 | 40.4 | MIT | 5 years ago | |
| hyperf/collection | 0.84 | A lightweight, fluent Collection implementation for Hyperf/PHP. Provides convenient methods for mapping, filtering, reducing, grouping, plucking, and more, with an API similar to Laravel Collections for handling arrays and iterables cleanly and safely. | 0 | 0 | 1 | 45K | 1 | 26.3 | 63.4 | MIT | 1 month ago | |
| loophp/collection | 0.84 | 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. | 743 | 747 | 34 | 36K | 1 | 13.9 | 23.4 | MIT | 1 year ago | |
| carguru/vendor-bundle | 0.84 | — | 0 | 0 | 0 | 0 | 0 | 1.8 | — | — | 3 years ago | |
| spatie/array-functions | 0.84 | Handy PHP array utilities from Spatie. Adds small, focused functions in the Spatie namespace (e.g., array_rand_value to pick a random value) to complement built-in array helpers. Install via Composer and use directly in your code. | 245 | 248 | 39 | 1K | 0 | 6.6 | 11.6 | MIT | 1 year ago |
How can I help you explore Laravel packages today?