Registry / utility / lumphp-laravel-macroable

lumphp-laravel-macroable

JSON →
library8.36.2phppackagistunverified

The Illuminate Macroable package.

composer require lumphp/laravel-macroable
INSTALL
IMPORT
SIG · LUMPHP-LARAVEL-MAC
L
lumphp-laravel-macroable
utilityphpv8.36.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Macroable
use Illuminate\Support\Traits\Macroable;

Add macros to any class using the trait.

use Illuminate\Support\Traits\Macroable; class MyClass { use Macroable; } MyClass::macro('hello', function() { return 'Hello'; }); echo MyClass::hello();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
8.36.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
lumphp-laravel-macroable — pip install lumphp-laravel-macroable · libregistry