generate uuid v4 laravel code example
Example: uuid package generator laravel
//above in controller
use Illuminate\Support\Str;
//in function
$uuid = Str::uuid()->toString();
//terminal
composer require "webpatser/laravel-uuid:^3.0"
//above in controller
use Illuminate\Support\Str;
//in function
$uuid = Str::uuid()->toString();
//terminal
composer require "webpatser/laravel-uuid:^3.0"