You are viewing documentation for an outdated version. It is no longer supported!

String

Extended version of Laravel's Str componentopen in new window.

slugToWords()

Method converts a slug back to words.

use Aedart\Utils\Str;

echo (string) Str::slugToWords('my-slug'); // My Slug