tobento / service-macro
Dynamically add methods to a class.
1.0.0
2021-06-23 12:03 UTC
Requires
- php: >=8.0
Requires (Dev)
- phpunit/phpunit: ^9.5
- vimeo/psalm: ^4.0
README
The Macro Service provides traits for extending classes.
Table of Contents
Getting started
Add the latest version of the macro service running this command.
composer require tobento/service-macro
Requirements
- PHP 8.0 or greater
Documentation
Is following.
Credits
Idea and some code snippets is taken from the macroable
trait of the Laravel framework.