myerscode/utilities-bags
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| minwork/array | 0.84 | 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 | 12 | 7K | 1 | 5.4 | 27.8 | MIT | 6 years ago | |
| small/collection | 0.84 | A lightweight collection package for PHP and Laravel that wraps arrays in a fluent, chainable API for filtering, mapping, grouping, sorting, and reducing data. Small and dependency-free, it keeps dataset manipulation readable and expressive. | 0 | 0 | — | 89 | — | 0.0 | 27.0 | — | — | |
| php-standard-library/fun | 0.83 | Functional programming utilities for PHP: compose and decorate functions, control execution, and build pipelines with small, reusable higher-order helpers. | 1 | 1 | 0 | 28K | 0 | 21.6 | 64.9 | MIT | 1 week ago | |
| php-standard-library/vec | 0.83 | Functions for creating and transforming sequential, 0-indexed arrays (lists) in PHP. Part of the PHP Standard Library, offering a consistent, functional approach to building and manipulating vec-like list structures. | 1 | 1 | 0 | 90K | 0 | 21.7 | 65.0 | MIT | 1 week ago | |
| dragon-code/pretty-array | 0.83 | Framework-agnostic PHP utility to export arrays into a readable, pretty PHP representation. Preserves numeric keys correctly (unlike symfony/var-exporter), making it ideal for generated config/translation files and other array dumps you want to commit or inspect. | 17 | 17 | 1 | 1M | 0 | 4.3 | 39.0 | MIT | 1 year ago | |
| whsv26/functional | 0.83 | Functional programming primitives for PHP: Option, Either, Pair, and immutable collections with map, filter, fold, and pattern matching. Handle nulls and errors without exceptions, chain transformations safely, and write expressive, side-effect-free code that works with Laravel and static analysis. | 203 | — | 6 | — | 0 | 1.2 | — | MIT | 1 year ago |
|
| phpcollection/phpcollection | 0.83 | 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. | 960 | 996 | 49 | 222K | 9 | 10.3 | 36.1 | Apache-2.0 | 4 years ago | |
| cscfa_tool_division/collections | 0.83 | — | 0 | 1 | 0 | 2 | 0 | 0.6 | 6.6 | MIT | 9 years ago | |
| mauretto78/array-query | 0.83 | Array Query is a PHP library that lets you query arrays using SQL-like syntax: select, where, order by, group by, limit and joins, with support for nested keys and custom operators. It brings database-style filtering and sorting to plain arrays, making complex data manipulation readable and testable... | 12 | — | 4 | — | 0 | 0.2 | — | MIT | 7 years ago |
|
| webparking/laravel-type-safe-collection | 0.82 | Webparking's Laravel Type-Safe Collection adds strongly typed collections to Laravel. Define the permitted item class once to get runtime type checks, clearer errors, IDE autocompletion, and safer map/filter operations, keeping collection contents predictable and preventing mixed-type bugs. | 37 | 37 | 2 | 0 | 0 | 0.5 | — | MIT | 6 years ago | |
| php-standard-library/collection | 0.82 | Generic, object-oriented Vector, Map, and Set collections for PHP, available in both immutable and mutable variants. Part of the PHP Standard Library, offering a consistent, type-safe API for building and transforming collections. | 1 | 1 | 0 | 54K | 0 | 21.6 | 64.9 | MIT | 1 week ago | |
| phootwork/collection | 0.82 | 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. | 38 | 40 | 3 | 1M | 0 | 8.1 | 55.3 | MIT | 2 years ago | |
| bentools/iterable-functions | 0.82 | Small PHP utility package offering array-like helpers for any iterable (arrays, Traversable, generators): iterable_to_array/to_traversable, map, merge, reduce, filter, values, and chunk—write iterable-agnostic code without TypeError surprises. | 23 | 23 | 4 | 12K | 0 | 4.8 | 37.5 | MIT | 2 years ago | |
| tightenco/collect | 0.82 | 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,491 | 1,541 | 110 | 127K | 3 | 10.3 | 19.6 | — | 3 years ago | |
| transprime-research/arrayed | 0.82 | Arrayed brings fluent, chainable array helpers to Laravel and PHP, making it simple to filter, map, group, sort, and transform nested data with clean, readable syntax. A lightweight toolkit for everyday array manipulation without boilerplate. | 22 | 22 | 1 | 10 | 2 | 0.8 | 2.2 | MIT | 2 years ago | |
| yoshi2889/collections | 0.82 | A lightweight PHP collection library offering a fluent, chainable API for mapping, filtering, reducing, and transforming data. It brings expressive array manipulation to standalone PHP projects and Laravel apps alike, helping keep code concise, readable, and easy to maintain. | 3 | 4 | 1 | 2K | 2 | 0.5 | 27.1 | MIT | 5 years ago | |
| spatie/array-functions | 0.81 | 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 | 38 | 5K | 0 | 6.6 | 18.8 | MIT | 1 year ago | |
| vistik/typed-collections | 0.81 | A Laravel/PHP package for type-safe collections: enforce element types at runtime, improve IDE and static-analysis support, and keep familiar Collection ergonomics. Define typed collections for models, DTOs, scalars, and custom classes. | 11 | — | 3 | — | 1 | 0.3 | — | — | 9 years ago | |
| mf/collections-php | 0.81 | A lightweight collection library for PHP that brings expressive, chainable array manipulation to any project. Map, filter, reduce, group and transform data with a fluent API, plus optional Laravel integration for familiar collection-style workflows. | 10 | 10 | 0 | 1K | 0 | 0.2 | 28.4 | MIT | 2 years ago | |
| alexeyshockov/colada | 0.81 | — | 31 | 32 | 6 | 0 | 0 | 0.2 | — | MIT | — |
How can I help you explore Laravel packages today?