Can someone in #laravel land answer me this?

why are there "helpers" for things like `Str::ucwords()` when you can literally use the php builtin?

This seems completely dumb to me.

@peach Seemed a bit unnecessary to me too at first. Two things: chaining operations and UTF-8 support.
https://github.com/laravel/framework/pull/57581
#php #laravel
[12.x] Add ucwords to Str and Stringable by braxey · Pull Request #57581 · laravel/framework

When transforming a name in a request, I'm currently doing the following: $name = ucwords($this->string('name')->trim()->squish()->value()); After this change, we'll be ...

GitHub
@peach consistent typed interface