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
Eloquent Uuid

Eloquent Uuid Laravel Package

eig/eloquent-uuid

A Laravel package that lets Eloquent models use UUID primary keys instead of auto-incrementing integers. Drop it into existing models to generate unique, non-sequential IDs automatically for safer, distributed-friendly records.

View on GitHub
Deep Wiki
Context7

eig/eloquent-uuid brings first-class UUID primary keys to Laravel's Eloquent ORM with minimal configuration. By applying the provided trait to a model, keys are generated automatically on creation and resolved transparently, so you can work with string-based identifiers without touching your existing query code.

Ideal for distributed systems, multi-tenant apps, or any schema where auto-incrementing integers don't fit, the package keeps Eloquent's conventions intact while adding UUID-aware behavior for routing, relationships, and mass assignment.

  • Automatic UUID generation on model creation
  • Drop-in trait integration for existing models
  • Seamless route model binding and relationships
  • Configurable UUID versions and column handling
  • Compatible with standard Eloquent queries and serialization
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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
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
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core