2.0.0
Breaking changes
- Dropped support for
PHP < 7.2
- Dropped support for global function
str_name_case
spanish
option is nowfalse
by default.
Added
-
Post-nominals detection.
-
Constructor now supports
options
parameter. -
Added options:
lazy
– Default: true. Do not do anything if the string is already mixed case and the lazy option istrue
.irish
– Default: true. CorrectMac
.spanish
– Default: false. Correctsel, la
and Spanish conjunctions.roman
– Default: true. Corrects roman numbers.hebrew
– Default: true. Correctsben, bat
.postnominal
– Default: true. Corrects post-nominals.
Updated
- New irish
Mac
exceptions.