Weave Code
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

Macroable Laravel Package

illuminate/macroable

Illuminate Macroable adds Laravel’s Macroable trait, letting you register custom methods (macros) on classes at runtime. Extend core components or your own objects without inheritance, enabling flexible, discoverable APIs and clean, centralized extension points.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
aimeos/macro 0.84 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,346 2,333 1 3K 0 11.8 5.3 MIT
View on GitHub
Deep Wiki
Context7
illuminate/view 0.82 Illuminate View is Laravel’s templating and view rendering component. It compiles and renders Blade templates, manages view composers and shared data, supports view discovery, caching, and engines, and integrates cleanly with the rest of the Illuminate framework. 131 141 50 657K 0 2.2 51.1 MIT
View on GitHub
Deep Wiki
Context7
spatie/macroable 0.82 Add methods to any class at runtime with Spatie’s Macroable trait. Register macros with closures or callables and call them like native methods; macros are bound to the class instance for access to $this. Inspired by Laravel’s Macroable implementation. 726 734 26 1M 0 25.9 53.6 MIT 2 months ago
View on GitHub
Context7
spatie/laravel-collection-macros 0.82 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,899 1,904 146 190K 0 43.2 32.6 NOASSERTION 1 month ago
View on GitHub
Deep Wiki
Context7
illuminate/http 0.81 Illuminate Http provides Laravel’s HTTP layer: a rich Request and Response API, input and file handling, headers/cookies, sessions, redirects, and helpers for working with Symfony HTTP components. Useful for building middleware and controllers cleanly. 119 131 38 516K 0 1.8 50.2 MIT
View on GitHub
Deep Wiki
Context7
illuminate/translation 0.81 Illuminate Translation is Laravel’s translation engine, providing a Translator with loaders, language files, and fallback locales to resolve strings and pluralization. Supports namespaces, JSON translations, and runtime locale switching for multilingual PHP apps. 69 73 11 495K 0 0.7 53.2 MIT
View on GitHub
Context7
illuminate/contracts 0.81 Laravel’s core contract interfaces for frameworks and packages. Provides stable abstractions for services like cache, queue, events, routing, validation, and more, enabling clean dependency injection and easy swapping of implementations across the ecosystem. 705 711 83 2M 0 6.1 48.4 MIT
View on GitHub
Context7
illuminate/container 0.81 Illuminate Container is Laravel’s lightweight dependency injection container for resolving classes, managing bindings, singletons, contextual dependencies, and automatic constructor injection. It powers service resolution and inversion of control in Laravel apps and packages. 312 325 60 1M 0 3.4 49.5 MIT
View on GitHub
Context7
illuminate/pipeline 0.80 Illuminate Pipeline provides a simple, fluent way to send an object through a series of pipes (closures or classes) in Laravel. Build customizable middleware-style workflows, transform data step by step, and control the final destination with clean, composable code. 94 96 13 865K 0 0.9 54.7 MIT
View on GitHub
Context7
illuminate/console 0.79 Illuminate Console provides the Artisan command-line framework used by Laravel. Define commands, schedule tasks, manage input/output, prompts, and terminal styling, and integrate with the service container to build robust CLI tools and automation. 129 136 28 628K 0 1.5 50.9 MIT
View on GitHub
Context7
illuminate/collections 0.79 Illuminate Collections provides a fluent, chainable API for working with arrays and iterables in PHP. Includes Collection and LazyCollection with powerful mapping, filtering, grouping, sorting, and higher-order operations, used widely across Laravel and standalone projects. 271 290 48 2M 0 2.8 53.4 MIT
View on GitHub
Deep Wiki
Context7
illuminate/testing 0.78 Laravel’s Illuminate Testing package provides the core testing helpers used by the framework—HTTP and console test utilities, assertions, test case scaffolding, and support traits—making it easier to write fast, expressive PHPUnit tests for Laravel applications and packages. 33 33 10 292K 0 0.5 54.3 MIT
View on GitHub
Context7
illuminate/conditionable 0.78 Add fluent, chainable conditional logic to Laravel objects. The Conditionable trait provides when/unless helpers to apply callbacks only when conditions are met, keeping pipelines and builders clean and readable without scattered if/else blocks. 91 92 4 2M 0 0.6 55.3 MIT
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4