Downloads
Stars
Version
A trait that provides support for uuid for eloquent models.
composer require neelbhanushali/laravel-uuid
NeelBhanushali\LaravelUUID\Traits\HasUUID
trait in your Eloquent Model.primary key
in the migration for that model is added using $table->uuid('KEY_NAME')->primary();
.