spatie/macroable
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.
ReflectionMethod::setAccessible() deprecation warningFull Changelog: https://github.com/spatie/macroable/compare/2.0.0...3.0.0
ReflectionMethod::setAccessible() deprecation warningFull Changelog: https://github.com/spatie/macroable/compare/2.0.0...2.1.0
How can I help you explore Laravel packages today?