- Support for PHP 8.3, PHP 8.2, PHP 8.1 and PHP 8.0
- Upgrade Libraries and dependencies
- Add special characters (specialCharacters() method) in Randomize::char() and Randomize::chars(). Special characters are: !"#$%&'()*+,-./:;<=>?@[]^_`{|}~
- Add Randomize::chars() for creating a string (it is a kind of shortcut for Sequence class);
- Adding Integer constructor with min and max
- Adding alphaLowerCase() and alphaUpperCase() methods Sequence (Chars);
- Refactor Char model
- change GitHub Actions workflow adding matrix for PHP 8, 7.4, 7.3
- Add snap() and snapKey() in Draw class. You can retry 1 item from array
- PHP 8 compatibility
- Add lower() method to Char for generating lower case chars: Randomize::char()->alpha()->lower()->generate() (thanks to @xanaDev);
- Add upper() method to Char for generating upper case chars: Randomize::char()->alpha()->upper()->generate() (thanks to @xanaDev);
- Register models in a property and load them with magic functions (thanks to @marcio-adue)
- Fix issue with array merge/append for alphanumeric
- Add Latitude / Longitude coordinates random generation (as object , as array as number). Thanks to @vrabe
- Add Makefile to launch: unit tests, phpstan (level 6), phpcs (PSR12)
- Adding more tests for DateTime
- Set min and max default for date time (first day of the current year, last day of the current year), thanks to @armsasmart
- Improve readme file, thanks to @pret3nti0u5
- Add Char Model, now you can generate random chars (numeric, alphabetical, alphanumeric...). Thanks to @parnus01
- Add DataTime Model, now you can generate a random date, thanks to @rebelchris
- Add Float Model, now you can generate a random float, thanks to @jirkavrba
- Add Sequence Char, now you can generate a sequence of chars, thanks to @bitasterisk
- Add toString method in order to have a concatenated sequence of chars, thanks to @paresh27
- Code is PSR compliance, thanks to @Septikwar
- Alias for the Integer class in Randomize.php, thanks to @Rocksheep
- Update/add some phpdocs, thanks to @webhaikal and @Septikwar
- more strict typed tests,thanks to @wesolowski
- Add cache for vendors and PHP packages
- Add PHP Linter for 7.1, thanks to @Anita-ihuman
-
Add example/RandomInteger.php file, thanks to @davidribeiro
-
Add example/RandomBoolean.php, thanks to @rebelchris
-
Add example/RandomDate.php, thanks to @rebelchris
-
Add example/RandomFloat.php, thanks to @jirkavrba
-
Add examples/RandomSequenceChar.php, thanks to @xanaDev In readme file:
-
Add range usage, thanks to @sam0hack
-
Add generate char, thanks to @Zuruckt
- preserveKeys() during drawing sample from an associative array
- added some test in order to have coverage 100%
- method unique(), allowDuplicates(), noDuplicates() for sequence generation;
- range method for generating integer (shortcut for min and max)
- new examples, useful for new users
- add some notes how to launch test coverage
- add some warning in README specially for cryptographic usage (this is a pseudo random library).
- improve the usage section in readme
- initial release