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

Sluggable Laravel Package

marshmallow/sluggable

A lightweight Laravel package that automatically generates clean, unique slugs for your Eloquent models. Easily customize the source field, separator, and update behavior, with built-in duplicate handling to keep URLs SEO-friendly and readable. Ideal for blogs, products, and any model needing stable...

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • SEO-friendly URL strategy: Supports decisions to expose human-readable, stable URLs for Laravel-backed content (pages, posts, products, categories) instead of opaque IDs.
  • Build vs. buy for slug behavior: Helps evaluate whether to implement slug generation/storage in-house or adopt a small MIT-licensed package to reduce custom code and delivery time.
  • Framework upgrade roadmap: With v1.12.0 adding Laravel 13 support, the package is a viable candidate for teams planning a Laravel upgrade inside the current cycle—it will not become an upgrade blocker in the near term. This removes a common objection to adopting small third-party utilities ahead of a major framework bump.
  • Content model and routing roadmap: Informs whether slugs are a first-class attribute on resources, how route binding works, and whether slug changes require redirects, versioning, or editorial controls.
  • Admin/editorial UX: Enables product decisions around auto-generated vs. editable slugs, uniqueness enforcement, and preview links in CMS/admin flows.
  • Localization and multi-site roadmap: Surfaces whether the package can support per-locale slugs or multi-tenant uniqueness—or whether those need custom design.
  • Migration and platform standardization: Supports decisions to standardize slug handling across Laravel resources rather than accumulating one-off implementations.
  • Risk-adjusted adoption: Still 0 stars, 0 dependents, and low opportunity signal. Treat as a tactical utility, not a strategic platform dependency. Favor a time-boxed pilot or vendor-and-fork approach over broad rollout. The Laravel 13 support PR is a positive maintenance signal but does not change the adoption ceiling—it is one contributor's first PR plus a Dependabot bump, not evidence of a sustained contributor base.

When to Consider This Package

  • Consider it when you have a Laravel application with Eloquent-backed resources that need simple, persisted slugs for public URLs, and the team wants to avoid re-implementing basic slug storage.
  • Stronger fit as of v1.12.0 when your team is on, or planning to move to, Laravel 13—the package tracks the current framework release rather than lagging behind it.
  • Good fit for early-stage or internal products, low-to-medium traffic sites, content-driven marketing pages, and teams comfortable reviewing and owning small MIT-licensed dependencies.
  • Consider a pilot when the package’s API is a clean trait/behavior, tests are present, and it can be pinned to a version and covered by your own integration tests.
  • Look elsewhere when you need slug history, automatic redirects, canonical URL management, localized slugs, complex uniqueness rules, editorial approval workflows, or high-volume redirect performance.
  • Look elsewhere when procurement requires vendor support, SOC/compliance guarantees, or broad ecosystem adoption. Zero stars/dependents and a small maintainer surface remain material risks; a single compatibility PR does not resolve them.
  • Do not adopt as-is when the package would sit on a critical path without an exit plan. Require code review, a fork/vendor strategy, and a fallback implementation before committing—though the current release does lower the short-term risk of the dependency going stale against your framework version.

How to Pitch It (Stakeholders)

  • To executives: This is a small, MIT-licensed Laravel utility that can accelerate SEO-friendly URLs and reduce custom slug code. The latest release confirms it is being kept current with Laravel 13, so it will not block a near-term framework upgrade. It remains low-cost to trial and not a strategic dependency; treat it as a tactical component with contained risk.
  • To engineering: It offers a focused way to store slugs on Laravel resources and avoid bespoke slug logic. v1.12.0 adds Laravel 13 support (first-time contributor) alongside a routine GitHub Actions bump—no breaking changes, no deprecations. Before adoption, review the source, confirm uniqueness and route-binding behavior, add integration tests, pin the version, and document a fork/replace path.
  • To product/design: It can shorten delivery for readable URLs and editorial slug fields, but it does not solve redirects, slug history, localization, or governance by itself. Those remain product requirements to specify.
  • Recommendation: Run a short spike in one non-critical resource, targeting Laravel 13 if that is on your roadmap. Adopt only if the code is simple, testable, and easy to replace; otherwise implement a thin internal slug service. Do not position this package as a platform standard given its adoption and maintainer-breadth signals.
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.
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
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