optimus
optimus copied to clipboard
Minimum or fixed integer length
I need some level of control over the generated integer length. I don't know if this is even possible as I don't see any updates on https://github.com/jenssegers/optimus/issues/15. If a fixed length is not possible, maybe a minimum length can be easier to implement?
PR #36 introduces flexibility around this.
Note that from what I could see, the maths for generating the integers requires a binary numbers. This means you could restrict the numbers to 65535 but not 99999.