Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Type Safe Collection Laravel Package

webparking/laravel-type-safe-collection

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
aimeos/map 0.87 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 —
View on GitHub
vistik/typed-collections 0.87 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
View on GitHub
tightenco/collect 0.86 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
View on GitHub
pinkary-project/type-guard 0.86 A lightweight Pinkary package that brings expressive runtime type guards to PHP and Laravel apps, letting you assert and validate value types safely and fail fast with clear errors instead of scattered manual checks. 198 — 24 — 1 2.4 1.9 MIT —
small/collection 0.86 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 — 69 — 0.0 25.5 — —
View on GitHub
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 2 0 3.6 6.6 MIT 2 years ago
View on GitHub
mf/collections-php 0.86 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
View on GitHub
sebastian/type 0.86 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
View on GitHub
werxe/laravel-collection-macros 0.86 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
View on GitHub
cscfa_tool_division/collections 0.86 — 0 1 0 2 0 0.6 6.6 MIT 9 years ago
View on GitHub
mll-lab/laravel-utils 0.86 A compact set of practical utilities for Laravel applications, providing reusable helpers and conveniences that cut boilerplate and simplify common development tasks. Easy to install and integrate into existing Laravel projects. Lightweight, dependable building blocks for everyday Laravel developmen... 6 — 3 — 0 15.0 — MIT 3 months ago
View on GitHub
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 502 0 20.3 39.0 MIT 5 days ago
View on GitHub
php-standard-library/type 0.85 Runtime type validation for PHP built on the Parse, Don't Validate principle: coerce and assert unstructured input into well-typed data, with clear errors when values don't match. 1 1 0 114K 0 21.4 64.8 MIT 1 week ago
View on GitHub
phootwork/collection 0.85 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
View on GitHub
cocur/vale 0.85 cocur/vale is a lightweight PHP value validation library. Define reusable rules to validate strings, numbers, arrays, and objects, and get clear, consistent results without pulling in a full framework—handy for DTOs, APIs, and input sanitization. 14 14 1 3K 0 0.7 32.1 MIT 11 years ago
View on GitHub
Context7
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
View on GitHub
andydefer/domain-structures 0.85 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 —
View on GitHub
phpstan/phpstan-strict-rules 0.85 Extra strict, opinionated PHPStan rules for defensive, strongly typed PHP: require booleans in conditions, strict function-call flags, numeric arithmetic operands, matching switch types, no useless casts, and safer loop variable handling. 714 721 63 5M 35 45.9 75.1 MIT 4 days ago
View on GitHub
doctrine/collections 0.85 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
View on GitHub
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
View on GitHub
Context7
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo