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 Unique

Laravel Unique Laravel Package

willvincent/laravel-unique

willvincent/laravel-unique provides a simple trait for generating unique values on Eloquent models, making it easy to assign distinct IDs, codes, or tokens to records with minimal configuration in any Laravel application.

View on GitHub
Deep Wiki
Context7

willvincent/laravel-unique adds a small, focused trait for generating unique values on Eloquent models—ideal for order numbers, usernames, invite codes, and other identifiers that must never collide. Instead of hand-rolling retry loops, you declare which attribute needs uniqueness and the package handles generation and collision checking for you.

  • Simple trait-based integration with any Eloquent model
  • Automatic collision detection and regeneration
  • Configurable value format, length, and uniqueness scope
  • Plays nicely with Laravel validation and mass assignment
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.
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
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