Answers for "how to use slug in laravel 7"

PHP
4

Str slug laravel

use Illuminate\Support\Str;

$slug = Str::slug('Laravel 5 Framework', '-');

// laravel-5-framework
Posted by: Guest on January-18-2021

Browse Popular Code Answers by Language