laravel store uuid code example
Example 1: 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"
Example 2: uuid in laravel
use Illuminate\Support\Str;
$uuid = Str::uuid()->toString();