- composer
- php 7.0.23
- symfony 3.1
$ composer install
Set directory where generated codes will be stored using this key:
generated_codes_directory:
Default location is set to:
/web
$ php bin/console server:runBrowser:
http://127.0.0.1:8000/codes
$ php bin/console codes:generate <length> <count>
Arguments:
quantity Quantity of codes
length Length of code
Options:
--save If defined, codes will be saved into the file