Work with the Filament Security Headers plugin — the settings page that edits laravel-security-headers' CSP, response headers and HSTS at runtime.
php artisan boost:add-skill jeffersongoncalves/filament-security-headers
Save this content to: .claude/skills/filament-security-headers-development/SKILL.md
# Filament Security Headers Development
- **Package**: `jeffersongoncalves/filament-security-headers` (branch `3.x`, Filament 5.x)
- **Namespace**: `JeffersonGoncalves\Filament\SecurityHeaders`
- **Depends on**: `jeffersongoncalves/laravel-security-headers:^2.0`, `spatie/laravel-settings`
## Setup
```bash
php artisan vendor:publish --tag=filament-security-headers-settings-migrations
php artisan migrate
```
## Troubleshooting
- **Edits not applied**: the route must use the `SecurityHeaders` middleware; the settings are applied when the app boots.
- **Blocked assets after a CSP change**: turn on report-only, or use "Reset to config".
- **Settings errors**: the `security_headers` group is missing — publish and run the migrations.
jeffersongoncalves/filament-security-headers (branch 3.x, Filament 5.x)JeffersonGoncalves\Filament\SecurityHeadersjeffersongoncalves/laravel-security-headers:^2.0, spatie/laravel-settingsphp artisan vendor:publish --tag=filament-security-headers-settings-migrations
php artisan migrate
SecurityHeaders middleware; the settings are applied when the app boots.security_headers group is missing — publish and run the migrations.How can I help you explore Laravel packages today?