Releases: tamtamchik/namecase
Releases · tamtamchik/namecase
3.0.0
2.4.1
- Replaced 2 post-nominals with more commonly used initials.
- MS in favor of Ms
- LT in favor of Lt
Full Changelog: 2.4.0...2.4.1
2.4.0
What's Changed
- Add support for initial names like JJ Abrams and JD Salinger by @jdhartley in #19
New Contributors
- @jdhartley made their first contribution in #19
Full Changelog: 2.3.0...2.4.0
2.3.0
2.2.0
Added
- PHP 8 support.
2.1.1
1.0.6
2.1.0
2.0.1
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.