Allows the usage of UUIDs in Eloquent models
github.com/marcandreappel/laravel-uuids
pkg:composer/marcandreappel/laravel-uuids
Installs: 1 447
Dependents: 1
Suggesters: 0
Stars: 0
Open Issues: 0
Advisories: 0
Aikido package health analysis
Requires
Requires (Dev)
None
Suggests
Provides
Conflicts
Replaces
MIT 5b759e9b4cb2e6d94ecc6304b050f376e5b1a819
This package is auto-updated.
Last update: 2026-03-10 15:43:24 UTC
In your migrations, replace $table->id(); with $table->uuid('id');.
$table->id();
$table->uuid('id');
Add the WithUuids trait in your Eloquent model:
WithUuids
class MyModel extends Model { use WithUuids; }