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 Sluggable

Eloquent Sluggable Laravel Package

kduma/eloquent-sluggable

Generate unique, customizable slugs for Laravel Eloquent models. Automatically turn titles or other fields into URL-friendly strings, with configurable uniqueness, soft-delete handling, and per-model options. Simple to install, easy to integrate, and ideal for SEO-friendly URLs in any Laravel applic...

View on GitHub
Deep Wiki
Context7

kduma/eloquent-sluggable adds automatic slug generation to Laravel Eloquent models, turning titles, names, or other text attributes into clean, URL-friendly strings. Add the trait to a model and declare which attribute to slug and where to store it—slugs are generated on save and kept unique without manual intervention.

  • Configurable source and slug attributes per model
  • Automatic uniqueness handling with numeric suffixes on collisions
  • Custom separator, maximum length, and transliteration via Str::slug
  • Slugs regenerate only when the source changes, preserving existing URLs
  • Works with mass assignment, updates, and soft-deleted records
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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource