You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it would be beneficial to add the capability for the humanize method to format dashes to make the transition between slugify and humanize easier without having to use the replace method to remove dashes and add spaces.
For example right now I would have to do this: Stringy::create('some-slug-text')->replace('-', ' ')->humanize()
This would be nice: Stringy::create('some-slug-text')->humanize()
Not a big deal, just something I do often in a project I am working on.
I can submit a PR for it if you like.
The text was updated successfully, but these errors were encountered:
I think it would be beneficial to add the capability for the humanize method to format dashes to make the transition between slugify and humanize easier without having to use the replace method to remove dashes and add spaces.
For example right now I would have to do this:
Stringy::create('some-slug-text')->replace('-', ' ')->humanize()
This would be nice:
Stringy::create('some-slug-text')->humanize()
Not a big deal, just something I do often in a project I am working on.
I can submit a PR for it if you like.
The text was updated successfully, but these errors were encountered: