jawira/case-converter
Convert strings between common case styles (camelCase, snake_case, kebab-case, PascalCase, etc.) with a simple PHP API. Handy for slugs, variable naming, and text normalization, supporting robust Unicode-aware conversions and formatting options.
When \Jawira\CaseConverter\Convert class is instantiated, the input string is
analyzed to detect the words in it.
This is also the algorithm used by Convert::fromAuto method.

_ (underscore character), then _ is used to
split string.- (dash character), then - is used to split
string.␣ (space character), then ␣ is used to split
string.. (space character), then . is used to split
string.How can I help you explore Laravel packages today?