pacote nom uuid para o Laravel 18.04

//above in controller
use Illuminate\Support\Str;

//in function
$uuid = Str::uuid()->toString();

//terminal
composer require "webpatser/laravel-uuid:^3.0"
Strange Swan