📜  uuid 包生成器 laravel - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:39.005000             🧑  作者: Mango

代码示例1
//above in controller
use Illuminate\Support\Str;

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

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