Laravel Sluggable Simple way to add sluggable trait to any models. Adding slugs table. Methods setSlug() getSlug(Model $model, int $model_id) getBySlug(string $slug)