Skip to content Skip to footer navigation
You are reading the Statamic 6 Alpha docs. πŸ‘€

Kebab Case Modifier

Converts a string into kebab-case.

string: statamicIsAwesome
{{ string | kebab }}
{{ Statamic::modify($string)->kebab() }}
statamic-is-awesome