Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Uuid Model

Laravel Uuid Model Laravel Package

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.

View on GitHub
Deep Wiki
Context7

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.

  • UUID primary keys instead of auto-incrementing integers
  • Automatic UUID generation when creating models
  • Drop-in Eloquent integration via a base model
  • String key type and incrementing = false preconfigured
  • Easy to extend for custom UUID handling
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console