Weave Code
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 Laravel Package

cviebrock/eloquent-sluggable

Generate SEO-friendly, unique slugs for Laravel Eloquent models automatically. Configure sources, separators, max length, reserved words, and update behavior; supports soft deletes and route model binding. Includes a SlugService and extensible hooks.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Automates creation of SEO-friendly URLs for content-heavy features (blogs, products, categories) without custom code, directly improving search rankings and user experience
  • Eliminates 50-70% of manual slug generation logic that would otherwise require custom implementation and testing, accelerating feature delivery for content-focused products
  • Supports critical business requirements like URL uniqueness, reserved word blocking, and multilingual character handling out-of-the-box – reducing risk of broken links or duplicate content issues
  • Strongly favors "buy" over "build" given 3,990+ GitHub stars, active maintenance, and 12+ Laravel version compatibility – avoiding technical debt from reinventing this solved problem

When to Consider This Package

  • Adopt when building Laravel applications requiring dynamic content URLs (e.g., CMS, e-commerce, news platforms) where human-readable URLs are business-critical
  • Use when needing automatic uniqueness handling, special character conversion, or reserved word blocking for slugs without custom development
  • Avoid when: working with non-Eloquent data models (e.g., raw SQL or other ORMs), building non-Laravel applications, or requiring slug formats incompatible with standard URL conventions (e.g., base64 encoding)
  • Do not use if your product has no public-facing content URLs (e.g., internal admin tools), or if your team has specific slug requirements beyond the package's configurable options

How to Pitch It (Stakeholders)

Executives: "This package automates SEO-optimized URLs for all our content pages – turning messy technical IDs into human-readable links like /blog/seo-tips-2024 that boost search rankings and user trust. It saves 200+ engineering hours annually by eliminating custom slug logic, while reducing broken link risks that hurt organic traffic."
Engineering: "Zero-configuration integration with Eloquent models that handles uniqueness, character normalization, and reserved words automatically. With 3.9k+ stars and full Laravel version support, it replaces 150+ lines of error-prone custom code with a battle-tested solution that requires only 3 lines of model configuration."

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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation
uri-template/tests