using a slug in laravel blade code example
Example 1: laravel slug
$ 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"