Multi language slugs
Hello everyone, I am using Spatie's available package to generate slugs (https://github.com/spatie/laravel-sluggable#integration-with-laravel-translatable). I also use the Filament plugin for translations (by Spatie). This all works but how can I validate that each slug is unique? Also when I create a new record, it doesn't use the method from Spatie's package to generate the slug, Filament then gives me a warning that I didn't provide a slug.
Can anyone guide me for this?
GitHub
GitHub - spatie/laravel-sluggable: An opinionated package to create...
An opinionated package to create slugs for Eloquent models - GitHub - spatie/laravel-sluggable: An opinionated package to create slugs for Eloquent models
0 Replies