ldc-gen-game-web/config/codes.php
Jérémy Munsch 9ee2123928
- composer require kwaadpepper/serial-int-caster
- add code parameters into config
- add code length parameter into settings
- add total possible codes to generate in generation page
- add GenerateRequest validation
- changed job ProcessUniqueCode to increase performances using mass insert and pagination
- changed singletoned Settings instance to increase performances
- Fix process export code put datetime in file name
- aded storage to gitignore file
- fixed export to guess export codes, also non recursive now
- changed refactorize a bit EnterCodeController::participate + add request
- Add request to export and generate codes requests
2022-01-07 19:03:25 +01:00

11 lines
255 B
PHP

<?php
return [
// Export pagination.
'paginate' => env('CODE_PAGINATE', 65530),
// Dictionnary of chars to use fo generating unique codes.
'codeCharList' => 'ABCDEFGHJKMNPQRSTUWXYZ123456789',
// Code length.
'codeLength' => 8
];