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.
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.
How can I help you explore Laravel packages today?