customising laravel to find uuid instead of id code example Example: uuid in laravel use Illuminate\Support\Str; $uuid = Str::uuid()->toString();