gjhuerte/php-code-generator

Helper class for generating code using PHP

1.0.0 2022-07-26 10:50 UTC

This package is auto-updated.

Last update: 2024-05-26 14:43:39 UTC


README

Generates a code for you on the go

Installation

Requirements

  • Composer
  • PHP ^7.0

Composer:

composer require gjhuerte/php-code-generator

Import the package and your good to go.

use Aux\Generator\Code;

$code = Code::generate(10);

Usage example (Under construction)

Default Token Generator

Specifying Custom Format

You can also add your own unique validation

Development setup

All you need to do is clone the repository. Run composer install to install all dependencies for testing.

git clone https://github.com/gjhuerte/php-code-generator.git

Release History

  • 1.0.0

    • More official functions for the generator
  • 0.1.0

    • Initial Release

Meta

Gabriel Jay Huerte – @gjhuerte

Distributed under the MIT license. See LICENSE for more information.

https://github.com/gjhuerte/php-code-generator.git

Contributing

  1. Fork it (https://github.com/gjhuerte/php-code-generator.git/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request