Skip to content

gjhuerte/php-code-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Code Generator

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

About

Helper class for generating code using php

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages