### Install Filament FAQ with Composer Source: https://github.com/jeffersongoncalves/filament-faq/blob/3.x/README.md Install the Filament FAQ package version 3.x via Composer. ```bash composer require jeffersongoncalves/filament-faq:"^3.0" ``` -------------------------------- ### Run Tests Source: https://github.com/jeffersongoncalves/filament-faq/blob/3.x/README.md Run the package test suite. ```bash composer test ``` -------------------------------- ### Publish Filament FAQ Config Source: https://github.com/jeffersongoncalves/filament-faq/blob/3.x/README.md Publish the package configuration file using the filament-faq-config tag. ```bash php artisan vendor:publish --tag="filament-faq-config" ``` -------------------------------- ### Filament FAQ Config File Source: https://github.com/jeffersongoncalves/filament-faq/blob/3.x/README.md Default configuration file content showing the navigation group and resource class mappings for categories and FAQs. ```php return [ 'navigation_group' => 'FAQ', 'resources' => [ 'category' => \JeffersonGoncalves\FilamentFaq\Resources\Categories\CategoryResource::class, 'faq' => \JeffersonGoncalves\FilamentFaq\Resources\Faqs\FaqResource::class, ], ]; ``` -------------------------------- ### Register FilamentFaqPlugin with navigationGroup Source: https://github.com/jeffersongoncalves/filament-faq/blob/3.x/resources/boost/skills/filament-faq-development/SKILL.md Registers the Filament FAQ plugin in a panel and sets the navigation group to 'Support'. Add this to the plugins() array in your PanelProvider. ```php use JeffersonGoncalves\FilamentFaq\FilamentFaqPlugin; FilamentFaqPlugin::make() ->navigationGroup('Support'); ``` -------------------------------- ### Set Navigation Group Fluently Source: https://github.com/jeffersongoncalves/filament-faq/blob/3.x/README.md Configure the navigation group fluently by chaining the navigationGroup method on the plugin instance. ```php FilamentFaqPlugin::make()->navigationGroup('Support'); ``` -------------------------------- ### Register FilamentFaqPlugin in Panel Provider Source: https://github.com/jeffersongoncalves/filament-faq/blob/3.x/README.md Register the FilamentFaqPlugin in the panel provider. Requires also registering a jeffersongoncalves/filament-translatable plugin instance in the same panel for translatable fields. ```php use JeffersonGoncalves\FilamentFaq\FilamentFaqPlugin; public function panel(Panel $panel): Panel { return $panel ->plugins([ FilamentFaqPlugin::make(), ]); } ``` -------------------------------- ### Override resources in config/filament-faq.php Source: https://github.com/jeffersongoncalves/filament-faq/blob/3.x/resources/boost/skills/filament-faq-development/SKILL.md Overrides the default Category and FAQ resources by specifying custom classes in the config/filament-faq.php file. The 'category' key maps to a custom resource, while 'faq' can be left as the default or replaced. ```php // config/filament-faq.php return [ 'resources' => [ 'category' => \App\Filament\Resources\Faqs\CustomCategoryResource::class, 'faq' => \JeffersonGoncalves\FilamentFaq\Resources\Faqs\FaqResource::class, ], ]; ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.