Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Sluggable Laravel Package

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.

View on GitHub
Deep Wiki
Context7

title: Laravel Boost skill weight: 7

This package ships a Laravel Boost skill that teaches any Boost-aware AI assistant (Claude Code, Cursor, Copilot CLI, Gemini CLI, and others supported by Boost) how to use laravel-sluggable correctly.

Discovery

When your project has both spatie/laravel-sluggable and laravel/boost installed, Boost's SkillComposer automatically discovers the skill at vendor/spatie/laravel-sluggable/resources/boost/skills/sluggable-development/. No extra configuration is required.

Running Boost's install command writes the skill into your configured agent's skills directory (for example, .claude/skills/sluggable-development/ for Claude Code or .agents/skills/sluggable-development/ for Gemini CLI).

What the skill covers

The skill activates when a query mentions slugs, permalinks, the HasSlug trait, the HasTranslatableSlug trait, the #[Sluggable] attribute, SlugOptions, findBySlug, self-healing URLs, or stale slug redirects. It guides the assistant through:

  • Choosing between the #[Sluggable] attribute and the HasSlug trait for a given model.
  • Generating the migration for a slug column, including the nullable then unique backfill pattern and the JSON column requirement for translatable slugs.
  • Configuring separator, length, language, uniqueness behavior, and scope.
  • Wiring implicit route binding through the slug column.
  • Enabling self-healing URLs, customizing the separator, and overriding the 308 redirect through the SelfHealing facade.
  • Swapping the default action classes via config/sluggable.php.

The full skill content lives at resources/boost/skills/sluggable-development/SKILL.md in the package repository.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle