Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

This course is the most refreshing take on teaching design that I've come across.

— Mikaël Sévigny, Developer

dashify Modifier

Returns a lowercase and trimmed string separated by dashes. Dashes are inserted before uppercase characters (with the exception of the first character of the string), and in place of spaces as well as underscores.

title: Just Because I Can
{{ title | dashify }}
{{ Statamic::modify($title)->dashify() }}
just-because-i-can
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →