laravel arr code example
Example 1: laravel str::random
use Illuminate\Support\Str;
$random = Str::random(40);
Example 2: laravel slug
php artisan vendor:publish --provider="Cviebrock\EloquentSluggable\ServiceProvider"
use Illuminate\Support\Str;
$random = Str::random(40);
php artisan vendor:publish --provider="Cviebrock\EloquentSluggable\ServiceProvider"