BC Breaks:
- Rename class
StringtoStringUtilssinceStringis reserved in PHP 7 - Rename class
ArrytoArrayUtilsto keep naming consistent
- Add:
String::replaceNonBmp()
- Add: guarantee set order in CloneProperties (props first, then setters)
- Add: support for setters and before closure in the CloneProperties trait
- Added
JsonWriterclass
- Added
String::oneLiner() - Modified
String::mostSimilar()to usesimilar_text()instead oflevenshtein() - Modified
String::translit()to accept non-string scalars
- Fixed CloneProperties trait to use late static binding which allows it to be used on a class and work on it's subclasses.
- Improved tests
- Added
Json::load()andJson::dump() - Added
String::translit()
- Added
Jsonhelper class
- Added special handling for german characters in
String::slugify()
Features:
- Added
String::slugify() - Moved to PSR4 for autoloading
- Moved to PSR2 code style