gamez/typed-collection
gamez/typed-collection adds type-safe, strongly typed collections to Laravel and PHP. Define the item type once, keep the familiar Collection API, and get better IDE autocompletion, static analysis, and early errors when invalid values are added.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phootwork/collection | 0.84 | 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 | |
| vistik/typed-collections | 0.84 | 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 | |
| webparking/laravel-type-safe-collection | 0.84 | 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 | |
| somnambulist/collection | 0.83 | A PHP/Laravel collection package that extends the standard Collection with type-safe wrappers, extra helper methods, and immutable-style operations for cleaner, more predictable data manipulation. | 11 | 11 | 2 | 3K | 0 | 0.1 | 32.4 | MIT | 2 years ago | |
| shapecode/twig-collector-extension-bundle | 0.83 | Symfony bundle adding a Twig extension for the profiler's Twig collector, letting templates read collected data and dump variables during development. Auto-registered via Flex, it also adds a web profiler panel for inspecting template and collector data. | 1 | — | 0 | — | 0 | 0.3 | — | MIT | 10 years ago | |
| tightenco/collect | 0.83 | 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 | |
| spatie/laravel-collection-macros | 0.83 | Adds a curated set of handy macros to Laravel Collections, extending them with extra helper methods (e.g., positional accessors like second/third, after, getNth, and more). Auto-registers via Composer for quick, drop-in productivity boosts. | 1,912 | 1,917 | 142 | 379K | 0 | 29.1 | 33.4 | NOASSERTION | 8 months ago | |
| illuminate/collections | 0.83 | Illuminate Collections provides a fluent, array-like wrapper for working with PHP arrays. Chain methods like map, filter, reduce, sort, groupBy, and chunk; use lazy collections for memory-efficient pipelines; extend with custom macros. Includes higher-order proxies. A core Laravel component, usable... | 34,987 | 290 | 12,028 | 3M | 55 | 78.2 | 63.8 | MIT | 3 days ago | |
| sherlockode/sonata-sortable-bundle | 0.82 | A Sonata Admin bundle that adds drag-and-drop sorting to your admin lists. Define sortable entities with a simple position field, and reorder rows directly in the interface—no custom JavaScript required. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 3 years ago | |
| loophp/collection | 0.82 | 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. | 744 | 746 | 34 | 45K | 1 | 13.9 | 24.7 | MIT | 2 years ago | |
| cartalyst/collections | 0.82 | Cartalyst Collections extends Laravel's Collection with a richer set of array helpers, macros, and utilities for filtering, transforming, and manipulating data. It offers convenient methods for everyday PHP workflows, making complex array operations cleaner and more expressive while staying familiar... | 75 | 77 | 13 | 5K | 1 | 1.2 | 24.9 | BSD-3-Clause | 11 years ago | |
| aimeos/map | 0.82 | High-performance e-commerce framework for Laravel/Lumen (and other PHP apps). Provides products, catalog, basket, checkout, customers, orders and admin UI. Extensible via plugins, supports multiple shops/sites, currencies and languages, and scales well. | 4,329 | 4,328 | 16 | 17K | 1 | 22.2 | 9.5 | MIT | — | |
| spatie/typed | 0.82 | Userland improved PHP type system with type inference and runtime checking: generics, union types, typed collections/lists, tuples, and structs. Proof-of-concept package from Spatie to add stronger type guarantees without language-level support. | 316 | 317 | 15 | 18 | 0 | 1.9 | 0.2 | MIT | 5 years ago | |
| softonic/laravel-collection-extended | 0.82 | A Laravel package that extends the native Collection class with handy additional methods, making common array and collection operations more expressive and concise. Drop-in compatible with Laravel's Collection, it helps you write cleaner, more readable PHP code without custom helpers. | 1 | 1 | 0 | 2K | 0 | 4.2 | 44.1 | NOASSERTION | 9 months ago | |
| werxe/laravel-collection-macros | 0.82 | A handy set of macros that extends Laravel Collections with extra methods for common array and data transformations, letting you write cleaner, more expressive pipelines without custom helper functions or repetitive loops. | 26 | — | 2 | — | 0 | 0.6 | — | MIT | 4 years ago | |
| andydefer/domain-structures | 0.82 | A Laravel/PHP package that provides reusable domain structures and building blocks for domain-driven design. It helps organize business logic, reduce boilerplate, and keep core rules isolated from framework and infrastructure concerns for cleaner, more maintainable applications. | 0 | 0 | 0 | 2K | 0 | 0.0 | 46.3 | MIT | — | |
| hyperf/collection | 0.82 | A fluent, chainable collection library for Hyperf, offering a rich set of array and dataset manipulation methods such as map, filter, reduce, groupBy, and lazy collections. It simplifies complex data processing with an expressive, Laravel-style API for PHP applications. | 6,912 | 0 | 1,296 | 61K | 365 | 88.4 | 45.6 | MIT | 3 weeks ago | |
| yoshi2889/collections | 0.81 | 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 | |
| php-standard-library/collection | 0.81 | 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 | |
| cscfa_tool_division/collections | 0.81 | — | 0 | 1 | 0 | 2 | 0 | 0.6 | 6.6 | MIT | 9 years ago |
How can I help you explore Laravel packages today?