gjhuerte / php-code-generator
Helper class for generating code using PHP
1.0.0
2022-07-26 10:50 UTC
Requires
- php: >=7
Requires (Dev)
- phpunit/phpunit: ^7
- symfony/console: ^2.7
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
- Fork it (https://github.com/gjhuerte/php-code-generator.git/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request