Weave 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
filament-benefit-development
jeffersongoncalves/filament-benefit
claude-code
filament
filament-plugins
translatable-fields
panel-provider
config-overrides
resources

Build and work with Filament Benefit features, including the Benefit resource and panel configuration.

Install
php artisan boost:add-skill jeffersongoncalves/filament-benefit

Save this content to: .claude/skills/filament-benefit-development/SKILL.md

# Filament Benefit Development

## When to use this skill

Use this skill when:
- Integrating Filament Benefit into a panel
- Customizing the Benefit resource
- Overriding the resource class via config

## Configuration

### Basic Setup

```php
use JeffersonGoncalves\FilamentBenefit\FilamentBenefitPlugin;

FilamentBenefitPlugin::make()
    ->navigationGroup('Perks');
```

### Overriding the Resource

```php
// config/filament-benefit.php
return [
    'resources' => [
        'benefit' => \App\Filament\Resources\Benefits\CustomBenefitResource::class,
    ],
];
```

## Resources

### BenefitResource

Model: `JeffersonGoncalves\Benefit\Models\Benefit`. Fields: `name` (translatable), `description` (translatable), `slug`.

## Troubleshooting

### Plugin not registered

**Cause**: Plugin not added to PanelProvider.

**Solution**: Add `FilamentBenefitPlugin::make()` to the `plugins()` array in your PanelProvider.

### Locale switcher missing on Create/Edit/List pages

**Cause**: `FilamentTranslatablePlugin` not registered in the same panel.

**Solution**: Add `FilamentTranslatablePlugin::make()` alongside `FilamentBenefitPlugin::make()` in the panel's `plugins()` array.

Filament Benefit Development

When to use this skill

Use this skill when:

  • Integrating Filament Benefit into a panel
  • Customizing the Benefit resource
  • Overriding the resource class via config

Configuration

Basic Setup

use JeffersonGoncalves\FilamentBenefit\FilamentBenefitPlugin;

FilamentBenefitPlugin::make()
    ->navigationGroup('Perks');

Overriding the Resource

// config/filament-benefit.php
return [
    'resources' => [
        'benefit' => \App\Filament\Resources\Benefits\CustomBenefitResource::class,
    ],
];

Resources

BenefitResource

Model: JeffersonGoncalves\Benefit\Models\Benefit. Fields: name (translatable), description (translatable), slug.

Troubleshooting

Plugin not registered

Cause: Plugin not added to PanelProvider.

Solution: Add FilamentBenefitPlugin::make() to the plugins() array in your PanelProvider.

Locale switcher missing on Create/Edit/List pages

Cause: FilamentTranslatablePlugin not registered in the same panel.

Solution: Add FilamentTranslatablePlugin::make() alongside FilamentBenefitPlugin::make() in the panel's plugins() array.

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.
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route