SPATIE

Services
Our philosophy Packages Postcards Guidelines Documentation
Products Blog About
Login Work with us

Docs Laravel-sluggable Changelog

Other versions for crawler v6 v5 v4
    • Introduction
    • Requirements
    • Installation & setup
    • Translatable slugs
    • Laravel Boost skill
    • Changelog
    • Questions and issues
    • Support us
    • Upgrading

    Basic usage

    • Generating your first slug
    • Using the Sluggable attribute
    • Using the HasSlug trait
    • Finding models by slug
    • Self-healing URLs

    Advanced usage

    • Combining multiple source columns
    • Tuning the uniqueness suffix
    • Overriding the underlying actions

You are viewing the documentation for an older version of this package. You can check the version you are using with the following command:

composer show spatie/laravel-sluggable

Changelog

Please see the CHANGELOG for more information on what has changed recently.

Laravel Boost skill
Questions and issues
Help us improve this page
laravel

Tailor‑made web dev

Laravel, React & Livewire specialists using AI to speed up our development.

Brief us your project
Help us improve this page
  • Services
  • Open source
  • Products
  • Courses
AboutBlogNewsletterDocsGuidelines

Kruikstraat 22, Box 12
2018 Antwerp, Belgium
info@spatie.be
+32 3 292 56 79
  • GitHub
  • Instagram
  • LinkedIn
  • X
  • Bluesky
  • Mastodon
  • YouTube
  • Privacy
  • Disclaimer

+32 3 292 56 79

Our office is closed now, email us instead

A good
match?

What we do best

  • All things Laravel
  • Custom frontend components
  • Building APIs
  • AI-powered features
  • Simplifying things
  • Clean solutions
  • Integrating services

Not our cup of tea

  • WordPress themes
  • Cutting corners
  • Free mockups to win a job
  • "Just execute the briefing"

In short: we'd like to be a substantial part of your project.

Get in touch via email

    Enter a search term to find results in the documentation.