vistik/typed-collections
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| gamez/typed-collection | 0.85 | 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. | 46 | 46 | 9 | 5K | 1 | 17.0 | 32.5 | — | 2 months ago | |
| aimeos/map | 0.85 | 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 | — | |
| illuminate/collections | 0.84 | 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 | |
| spatie/laravel-data | 0.84 | Spatie Laravel Data lets you define rich data objects once and reuse them as form requests, API transformers, and TypeScript definitions. It supports automatic validation, resource transformation, lazy properties, and constructing objects from request data. | 1,801 | 1,815 | 293 | 4M | 6 | 51.4 | 63.7 | MIT | 1 week ago | |
| kiwilan/typescriptable-laravel | 0.84 | — | 39 | 39 | 9 | 2K | 7 | 12.1 | 27.7 | MIT | 1 year ago | |
| atournayre/collection | 0.84 | 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 | 2 | 0 | 3.6 | 6.6 | MIT | 2 years ago | |
| cscfa_tool_division/collections | 0.84 | — | 0 | 1 | 0 | 2 | 0 | 0.6 | 6.6 | MIT | 9 years ago | |
| sebastian/type | 0.84 | A collection of value objects that model the PHP type system, including simple, union, intersection, and special types. Use it to inspect, compare, and represent type information programmatically in PHP projects. | 1,503 | 1,503 | 13 | 24M | 1 | 27.4 | 62.7 | BSD-3-Clause | 2 months ago | |
| spatie/laravel-collection-macros | 0.84 | 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 | |
| doctrine/collections | 0.83 | Doctrine Collections is a PHP library providing powerful collection abstractions, including ArrayCollection, typed collections, Criteria filtering, expression-based matching, selectors, and iterators for flexible data manipulation. | 5,979 | 6,012 | 190 | 7M | 27 | 58.1 | 55.8 | MIT | 6 months ago | |
| spatie/typed | 0.83 | 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.83 | 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 | |
| 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 | |
| romanzipp/dto | 0.83 | Lightweight data transfer objects for PHP and Laravel. Define typed properties, cast and validate values, and convert DTOs to and from arrays with ease, keeping request and response data structured and type-safe. | 12 | 12 | 1 | 337 | 1 | 0.2 | 19.7 | MIT | — | |
| zenstruck/collection | 0.83 | 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 | 88K | 2 | 6.2 | 51.6 | MIT | 10 months 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 | |
| php-standard-library/collection | 0.83 | 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 | |
| werxe/laravel-collection-macros | 0.83 | 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 | |
| tdn/php-types | 0.83 | A small PHP utility for working with types: safely cast values, validate data against expected types, and normalize scalars, arrays and objects. Lightweight and framework-agnostic, it drops easily into Laravel or any Composer project. | 7 | 8 | 0 | 45 | 0 | 0.0 | 8.0 | NOASSERTION | 11 years ago | |
| based/laravel-typescript | 0.83 | based/laravel-typescript generates TypeScript definitions from Laravel models, resources, and routes, keeping frontend and backend types in sync via artisan commands and configurable output. | 396 | 399 | 53 | 1K | 10 | 6.9 | 13.1 | MIT | 5 years ago |
How can I help you explore Laravel packages today?