blendbyte/filament-title-with-slug
Filament v5 Title + Slug input for Laravel: auto-generate slugs, live permalink preview, and inline editing. Works with Laravel 11–13. Simple drop-in field to manage titles and clean URLs in your Filament forms.
Full Changelog: https://github.com/blendbyte/filament-title-with-slug/commits/v3.0.1
Filament v5 support. Full compatibility with Filament v5, PHP 8.2-8.5, and Laravel 11, 12, and 13. All tested in CI.
New titleField parameter. Pass any Filament field as the title input instead of the default TextInput. The main use case is translatable title fields from packages like Spatie's Laravel Translatable, but it works with any field:
TitleWithSlugInput::make(
titleField: \Spatie\FilamentTranslatable\Forms\Components\TranslatableInput::make('title'),
)
Slug auto-generation is wired onto your field automatically. Any afterStateUpdated callbacks you've already set on the field are preserved.
No build step. The Tailwind compilation requirement is gone. Styles ship as plain CSS and are registered automatically via Filament's asset system. Remove any CSS imports or Tailwind config entries you had for this package.
New namespace. The package now uses its own namespace:
// Before (v1.x / v2.x)
use Camya\Filament\Forms\Components\TitleWithSlugInput;
// After (v3.x)
use Blendbyte\FilamentTitleWithSlug\TitleWithSlugInput;
href when there was no record slug.getRecordUrl(): visit link route closure was evaluated twice. Fixed to reuse the result.The one breaking change in all upgrade paths is the namespace above. The TitleWithSlugInput::make() call signature and all parameter names are unchanged.
Full instructions are in the README.
| Filament | PHP | Laravel |
|---|---|---|
^5.0 |
^8.2 - ^8.5 |
^11 / ^12 / ^13* |
*PHP 8.2 is not tested against Laravel 13.
We finally support Filament 4 - it will probably be the one and only release for it, since Filament 5 is already out.
Full Changelog: https://github.com/blendbyte/filament-title-with-slug/compare/v1.0.11...v2.0.0
Full Changelog: https://github.com/blendbyte/filament-title-with-slug/compare/v1.0.10...v1.0.11
titleFieldWrapper option to provider a custom Closure to apply as a wrapper around the title TextInput fieldFull Changelog: https://github.com/blendbyte/filament-title-with-slug/compare/v1.0.8...v1.0.9
Full Changelog: https://github.com/blendbyte/filament-title-with-slug/compare/v1.0.7...v1.0.8
How can I help you explore Laravel packages today?