stevenmaguire/laravel-uuid-model
A Laravel package that lets Eloquent models use UUID primary keys instead of auto-incrementing integers. It provides trait-based integration to generate and assign UUIDs automatically when models are created, making it simple to add UUID-backed models to Laravel applications.
Laravel UUID Model provides a simple Eloquent base model that replaces auto-incrementing integer keys with UUIDs. It is aimed at Laravel applications that need globally unique, non-sequential identifiers while keeping familiar Eloquent behaviour.
Models extending the provided class automatically receive a UUID primary key, with the key type and incrementing settings configured for you. UUIDs can be generated on model creation, so new records get an identifier without extra code.
incrementing = false preconfiguredHow can I help you explore Laravel packages today?