rockbuzz/lara-uuid is a Laravel package for laravel uuid.
It currently has 0 GitHub stars and 1.131 downloads on Packagist (latest version 2.0.2).
Install it with composer require rockbuzz/lara-uuid.
Discover more Laravel packages by rockbuzz
or browse all Laravel packages to compare alternatives.
Last updated
Laravel Uuid
PHP: >=7.3
$ composer require rockbuzz/lara-uuid
Schema::create('workspaces', function (Blueprint $table) {
$table->uuid('id')->primary();
...
});
use Rockbuzz\LaraUuid\Traits\UUid;
class User extends Authenticatable
{
use Uuid;
public $incrementing = false;
protected $keyType = 'string';
protected $casts = [
'id' => 'string',
];
...
}
The Lara Uuid is open-sourced software licensed under the MIT license.