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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| aimeos/macro | 0.87 | 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,397 | 2,381 | 1 | 4K | 0 | 12.0 | 5.6 | MIT | — | |
| javoscript/laravel-macroable-models | 0.86 | 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 | 23K | 0 | 0.5 | — | MIT | — | |
| wp-starter/macroable | 0.86 | 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.0 | — | MIT | 3 years ago | |
| spatie/macroable | 0.85 | 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. | 729 | 736 | 26 | 1M | 0 | 19.0 | 50.8 | MIT | 4 months ago | |
| 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. | 130 | 140 | 50 | 649K | 0 | 2.2 | 51.0 | MIT | — | |
| illuminate/translation | 0.82 | 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 | 482K | 0 | 0.7 | 53.0 | MIT | — | |
| 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,906 | 1,910 | 145 | 201K | 0 | 37.3 | 31.5 | NOASSERTION | 3 months ago | |
| reinink/advanced-eloquent | 0.81 | — | 576 | 578 | 23 | 7K | 1 | 2.1 | 10.8 | — | 7 years ago | |
| 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 | 563K | 0 | 1.8 | 50.7 | MIT | — | |
| illuminate/collections | 0.81 | 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. | 270 | 290 | 47 | 2M | 0 | 2.8 | 53.4 | MIT | — | |
| 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. | 311 | 324 | 59 | 1M | 0 | 3.3 | 49.8 | MIT | — |
How can I help you explore Laravel packages today?