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 Collection Macros Laravel Package

werxe/laravel-collection-macros

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
genealabs/laravel-collection-macros 0.86 Laravel Collection Macros by GeneaLabs extends Laravel's Collection class with a set of handy custom macros for common array and collection operations, adding convenience methods that streamline data manipulation in PHP and Laravel applications. 2 2 0 0 0 0.4 — — 7 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
aimeos/macro 0.86 aimeos/macro is a lightweight PHP macro/extension library that lets you add methods at runtime and extend objects and classes without inheritance. Handy for creating fluent APIs, plugin-style features, and flexible customization in Laravel or any PHP project. 2,438 2,435 1 6K 0 12.2 7.5 MIT —
View on GitHub
spatie/laravel-collection-macros 0.86 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
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
illuminate/macroable 0.85 The Illuminate Macroable trait lets you add custom methods to a class at runtime without modifying its source. Register macros once and call them like native methods, making Laravel components and your own classes easily extensible. 34,987 84 12,028 3M 55 78.2 63.8 MIT 3 days ago
View on GitHub
javoscript/laravel-macroable-models 0.85 Adds Macroable support to Eloquent models, letting you define and register reusable model macros for dynamic methods at runtime. Great for extending models cleanly across packages and projects without touching the model class directly. 71 71 4 39K 0 0.5 37.8 MIT —
View on GitHub
claudiodekker/laravel-macro-describer 0.85 A small Laravel helper for documenting macros: it records descriptions of your registered macros so developers and tooling can see what each one does. Handy for keeping macro-heavy codebases readable, though it's a niche utility with limited adoption. 4 — 0 — 0 0.2 — MIT 6 years ago
View on GitHub
pbmedia/laravel-browser-kit-macro 0.85 pbmedia/laravel-browser-kit-macro adds useful macros to Laravel's Browser Kit, extending its fluent HTTP testing API with convenient helpers and assertions so you can write cleaner, more expressive feature tests for Laravel applications. 2 2 4 0 0 6.3 — MIT 8 months ago
View on GitHub
php-standard-library/collection 0.85 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
View on GitHub
dragon-code/laravel-http-macros 0.85 dragon-code/laravel-http-macros adds handy macros to Laravel's HTTP client, cutting boilerplate for common API request tasks such as headers, authentication, timeouts, retries, and JSON payloads. Build cleaner, more expressive HTTP calls with less repetitive code. 11 11 0 0 0 3.9 — MIT 7 months ago
View on GitHub
aimeos/map 0.84 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
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
cocur/vale 0.84 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
wp-starter/macroable 0.84 Lightweight Macroable trait for PHP/Laravel-style macros. Add runtime methods to your classes, register macros and mixins, and call them like native methods—useful for extending objects without inheritance or boilerplate. 0 0 0 0 0 0.3 — MIT 3 years ago
View on GitHub
Context7
envor/laravel-schema-macros 0.84 A Laravel package that extends the Schema/Blueprint builder with handy macros for defining common database table columns and constraints, reducing boilerplate in migrations and keeping schema definitions concise. 3 3 0 151 0 0.7 22.7 MIT 2 years ago
View on GitHub
reinink/advanced-eloquent 0.84 — 574 578 23 15K 1 2.1 14.0 — 7 years ago
View on GitHub
exyplis/eloquent-builder-macros 0.84 This Laravel package adds reusable macros to Eloquent’s query builder, making common filtering, ordering, and query-building tasks shorter and more expressive. Keep models and repositories cleaner by replacing repetitive query code with handy, chainable macros. 0 29 — 0 — 0.0 — — —
View on GitHub
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
View on GitHub
datomatic/laravel-enum-collections 0.84 Laravel Enum Collections extends Laravel’s Collection API to PHP enums, letting you wrap enum cases and use familiar filter, map, sort, group, pluck, and transform methods. It keeps enum-heavy Laravel code cleaner, more expressive, and easier to chain without extra boilerplate. 8 9 1 365 0 9.2 24.1 MIT 6 months ago
View on GitHub
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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console