Nice: there's a difference between Laravel's Str::title() and PHP's native ucwords(): the first also lowercases the rest of the word, while the latter keeps the casing as is.

We then realized our Javascript capitalize() helper function had a bad name: what behavior should that one have? Return a City object which has a capital with the name of the given string?