spatie/laravel-sluggable
Generate unique slugs for Eloquent models on create/update. Supports collision suffixes, translatable slugs, and customizable slug options. Includes self-healing URLs that keep old links working via slug+ID route keys with 308 redirects to the canonical URL.
This package requires PHP 8.3+ and Laravel 12+.
For translatable slugs, spatie/laravel-translatable v6 or higher is required.
How can I help you explore Laravel packages today?