Enable auto fill of uuid field to Laravel Models and enable find by uuid function
composer require eng_assys/laravel-uuid-trait
On your laravel Model
namespace App\Models;
use LaravelUuid\Traits\Uuid;
use Illuminate\Database\Eloquent\Model;
class User extends Model
{
use Uuid;