You can call `squish()` on Stringable instances to remove all unnecessary whitespaces
- ·
- Telegram
- ·
- Newsletter
🔥 #Laravel Tip: Hot off the press, the latest release includes the ‘squish’ global helper method by @DwightConrad. It removes all extraneous white space from a string, including between words. It’s like ‘trim’ on steroids :)