matt-daneshvar/laravel-survey (with Tapp’s translatable/sortable fork), providing a structured survey engine for:
spatie/eloquent-sortable + translatable fields).laravel-survey adds this natively, reducing i18n boilerplate.maatwebsite/excel: Adds ~5MB to vendor; ensure CI/CD can handle Excel-related tests.spatie/eloquent-sortable: Lightweight but may conflict with existing sortable models.laravel-survey tables (surveys, questions, entries, answers). Pre-migration audit required if:
laravel-survey migrations before installing the Filament plugin.Surveys, Entries, and optionally Questions/Sections (via config).QuestionResource).SurveyQuestionResource).| Risk | Severity | Impact | Mitigation |
|---|---|---|---|
| Filament Version Mismatch | High | Plugin breaks if Filament major version changes. | Pin to exact Filament version (e.g., ^3.0 or ^4.0). Test upgrades early. |
| Schema Conflicts | Medium | Existing survey models/table names clash. | Audit DB schema pre-integration; use php artisan survey:install carefully. |
| Translatability Performance | Medium | Many translations may slow queries. | Benchmark with sample data; consider caching translated fields. |
| Excel Dependency Bloat | Low | Adds ~5MB to vendor; CI/CD test overhead. | Only a risk if Excel is unused elsewhere. |
| Plugin Maintenance | Low | TappNetwork is active (2026 release), but long-term support unclear. | Monitor GitHub issues; fork if critical bugs arise. |
| Frontend Form Gaps | High | No frontend survey forms (only admin tools). | Plan to pair with laravel-survey views or a separate package (e.g., Livewire). |
laravel-survey views or a frontend framework).maatwebsite/excel, but it adds dependency bloat if unused.4.x branch is tested early.laravel-survey views or a separate package).laravel-survey standalone or with Livewire/Inertia.# 1. Add Tapp’s fork of laravel-survey to composer.json
composer require matt-daneshvar/laravel-survey:dev-translatable
composer update
# 2. Publish and run migrations
php artisan vendor:publish --provider="MattDaneshvar\Survey\SurveyServiceProvider" --tag="migrations"
php artisan migrate
# 3. Install the Filament plugin
composer require tapp/filament-survey:"^3.0" # or ^4.0 for Filament 4
# 4. Publish optional assets (views/translations/config)
php artisan vendor:publish --tag="filament-survey-views"
php artisan vendor:publish --tag="filament-survey-translations"
php artisan vendor:publish --tag="filament-survey-config"
app/Providers/Filament/AdminPanelProvider.php:
public function panel(Panel $panel): Panel {
return $panel
->plugins([
FilamentSurveyPlugin::make(),
SpatieLaravelTranslatablePlugin::make(), // Required for translatable fields
]);
}
QuestionResource/SectionResource to the resources array in config/filament-survey.php.^3.0 for Filament 3.x.^4.0 for Filament 4.x (check the 4.x branch).dev-translatable). Do not use the upstream matt-daneshvar/laravel-survey.maatwebsite/excel is compatible with the Laravel version (e.g., Laravel 10 may require ~3.1).laravel-survey fork and migrations.laravel-survey views or build custom frontend forms (Livewire/Inertia).laravel-survey fork isHow can I help you explore Laravel packages today?