You are viewing documentation for an outdated version. It is no longer supported!
String
Extended version of Laravel's Str
component.
slugToWords()
Method converts a slug back to words.
use Aedart\Utils\Str;
echo (string) Str::slugToWords('my-slug'); // My Slug