This package is about language independent code generation, in next to no time.
You can install the package via composer.
composer require authanram/generators
Here's an example of how it can be used in a very basic way:
(new Authanram\Generators\Generator())
->withTemplate('first {{ second }} third {{ fourth }}')
->withInput(['second' => '2nd', 'fourth' => '4th'])
->get();
This will lead to the following result:
first 2nd third 4th
To learn all about this package, head over to the documentation.
(Note: The documentation is currently under construction.)
Please see CHANGELOG for more information on what has changed recently.
Please see the contribution guide for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.