k-ko/strings-normalizer

Helper to normalize strings

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/k-ko/strings-normalizer

v1.0.1 2021-07-05 18:06 UTC

This package is auto-updated.

Last update: 2025-10-06 04:24:50 UTC


README

Helper to normalize strings

Methods

All methods preserves letters and numbers only.

# All lowercase, nur buchstaben und ziffern, remove spaces, underscores
public static function toLowercase(string $string): string

# All uppercase, remove spaces, underscores
public static function toUppercase(string $string): string

# lowerCamelCase
public static function toCamelCase(string $string): string

# UpperCamelCase
public static function toUpperCamelCase(string $string): string

# snake_case
public static function toSnakeCase(string $string): string

# slugify-a-string
public static function slugify(string $string): string