/generators

This package is about language independent code generation, in next to no time.

Primary LanguagePHPMIT LicenseMIT

Generators

This package is about language independent code generation, in next to no time.

Installation

You can install the package via composer.

composer require authanram/generators

Basic Usage Example

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

Documentation

To learn all about this package, head over to the documentation.

(Note: The documentation is currently under construction.)

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see the contribution guide for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.