Skip to content

Global Helpers

humanize()

humanize() — returns string

Available in: controller, model, mapper, migrator, migration, tabledefinition Category: String Functions

Returns readable text by capitalizing and converting camel casing to multiple words.

NameTypeRequiredDefaultDescription
textstringyesText to humanize.
exceptstringnoA list of strings (space separated) to replace within the output.