folleah / codegen
There is no license information available for the latest version (1.0.0) of this package.
Library for simple generation verification code
1.0.0
2019-05-31 08:21 UTC
Requires
- php: >=5
- paragonie/random_compat: ~1.1
This package is auto-updated.
Last update: 2024-10-29 05:17:11 UTC
README
Use this library for simple generation verification codes.
Installation:
Add to composer.json
:
"folleah/codegen": "^1.0"
and run composer update
Using:
/**
* first param is code length, second param is easy mode flag
/*
$generator = new Generator(4, true);
echo $generator->generate();
Generated code without easy mode
: 5142
Generated code with easy mode
: 5521