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 Sluggable

Laravel Unique Sluggable Laravel Package

oguzcandemircan/laravel-unique-sluggable

A Laravel package that automatically generates unique, collision-free slugs for your Eloquent models, so you can create readable URLs without worrying about duplicates or manual checks.

View on GitHub
Deep Wiki
Context7

Laravel Unique Sluggable generates clean, URL-friendly slugs for your Eloquent models and guarantees they stay unique — automatically appending numeric suffixes when a collision occurs, so you never have to handle duplicates manually.

Drop the trait onto any model, point it at a source column, and slugs are created on save. Ideal for blogs, CMS entries, product catalogs, and any resource exposed through route-model binding.

  • Automatic uniqueness with configurable suffixes (my-post, my-post-2)
  • Trait-based integration — a few lines of setup per model
  • Configurable source and target columns for slug generation
  • Works with create() and update() without extra calls
  • Route-model-binding friendly for clean, readable URLs
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.
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
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource