mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 21:34:03 +00:00
589 B
589 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug | |
|---|---|---|---|---|---|---|---|
| Use the Str::headline() method to convert strings to studly words | 1459206738872201218 | weekly-thread-2021-45 | bradyrenting |
|
2021-11-12T17:09:31+00:00 | use-the-strheadline-method-to-convert-strings-to-studly-words |
💡It's refactor time!
Laravel 8.65 introduces the Str::headline() method, this method converts a string into studly words!
A small change like this results in less noise in my code.
Thanks @SteveTheBauman for this implementation! 🙌