NewWe open-sourced 50+ Laravel packages
Custom AI apps, agents and automation — Roundly ConsultingRoundly
All packages

Require the package with Composer. The service provider and the Slugs facade alias are auto-discovered — no manual registration:

composer require roundly-consulting/sluggable-for-laravel

The package needs zero host configuration. Publish the config file and the validation translations only if you want to change them:

php artisan vendor:publish --tag="sluggable-config"
php artisan vendor:publish --tag="sluggable-translations"

The slug-history migration is publish-only — nothing runs until you publish it. You need it only if you use slug history (301 redirects from old URLs):

php artisan vendor:publish --tag="sluggable-migrations"
php artisan migrate

Publish tags

TagPublishesWhen
sluggable-configconfig/sluggable.phpTo change defaults.
sluggable-translationslang/vendor/sluggableTo change validation messages.
sluggable-migrationscreate_slug_history_table (timestamped)Only for slug history.

About command

php artisan about shows a Sluggable section with counts and switches only — supported-locale count, the locale source, history and redirect on/off, reserved-word count, retries, key type and whether the defaults are customised. It never prints the locale list or the reserved words.

Show your open-source love

This package is free and MIT-licensed. If it saves you time, a one-off donation or a Patreon membership keeps it maintained, tested and documented.

More ways to support, including crypto

By donating, you agree to our donation terms.

Want this built into your product?

We integrate our packages into custom Laravel and AI builds. Tell us what you're working on and we'll reply within 48 hours.