laravel 8 id uuid code example Example: uuid in laravel use Illuminate\Support\Str; $uuid = Str::uuid()->toString();