laravel slugs code example
Example 1: laravel sluggable
$ composer require cviebrock/eloquent-sluggable
Example 2: laravel slug
php artisan vendor:publish --provider="Cviebrock\EloquentSluggable\ServiceProvider"
$ composer require cviebrock/eloquent-sluggable
php artisan vendor:publish --provider="Cviebrock\EloquentSluggable\ServiceProvider"