3 ms·Laravel has a Str class that does exactly that.by ceejayoz 3y agoLaravel has a Str class that does exactly that.