Laravel Macros Postmortem

20 Jan

How Laravel macros add methods to a class at runtime with the Macroable trait, with examples and where to register them in your app.