laravel file str code example
Example 1: laravel str::random
use Illuminate\Support\Str;
$random = Str::random(40);
Example 2: laravel slug
$ composer require cviebrock/eloquent-sluggable
use Illuminate\Support\Str;
$random = Str::random(40);
$ composer require cviebrock/eloquent-sluggable