spatie/laravel-sluggable
Automatically 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 and redirects.
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?