jeffersongoncalves / filament-faq
Filament v5 panel plugin providing admin UI (CRUD) for jeffersongoncalves/laravel-faq — FAQ categories and entries.
Package info
github.com/jeffersongoncalves/filament-faq
pkg:composer/jeffersongoncalves/filament-faq
Fund package maintenance!
Requires
- php: ^8.2
- filament/filament: ^5.0
- jeffersongoncalves/filament-translatable: ^3.0
- jeffersongoncalves/laravel-faq: ^1.0
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.21
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^3.0|^4.0
- pestphp/pest-plugin-laravel: ^3.0|^4.0
README
Filament FAQ
Filament admin UI (CRUD) for jeffersongoncalves/laravel-faq — manage FAQ categories and entries, with translatable question/answer/name fields, inside a Filament panel.
Compatibility
| Package Version | Filament Version |
|---|---|
| 1.x | 3.x |
| 2.x | 4.x |
| 3.x | 5.x |
Installation
You can install the package via composer:
composer require jeffersongoncalves/filament-faq:"^3.0"
Register the plugin in your panel provider:
use JeffersonGoncalves\FilamentFaq\FilamentFaqPlugin; public function panel(Panel $panel): Panel { return $panel ->plugins([ FilamentFaqPlugin::make(), ]); }
The FAQ resources render translatable fields (category name, question, answer), so a jeffersongoncalves/filament-translatable plugin instance must also be registered in the same panel.
Configuration
Publish the config file:
php artisan vendor:publish --tag="filament-faq-config"
return [ 'navigation_group' => 'FAQ', 'resources' => [ 'category' => \JeffersonGoncalves\FilamentFaq\Resources\Categories\CategoryResource::class, 'faq' => \JeffersonGoncalves\FilamentFaq\Resources\Faqs\FaqResource::class, ], ];
Or configure fluently:
FilamentFaqPlugin::make()->navigationGroup('Support');
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
