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

Snake Case Modifier

Converts a string into snake_case.

string: statamicIsAwesome
{{ string | snake }}
{{ Statamic::modify($string)->snake() }}
statamic_is_awesome