misaf / vendra-faq
Frequently Asked Questions management system with categorization
Package info
Type:vendra-module
pkg:composer/misaf/vendra-faq
v1.0.0
2026-07-13 22:28 UTC
Requires
- php: ^8.3
- awcodes/filament-badgeable-column: ^4.0
- filament/filament: ^5.6.8
- filament/spatie-laravel-media-library-plugin: ^5.6.8
- illuminate/support: ^13.0
- lara-zeus/spatie-translatable: ^2.0.1
- misaf/filament-jalali: ^5.1.4
- misaf/vendra-multimedia: ^1.0
- misaf/vendra-support: ^1.0
- spatie/eloquent-sortable: ^5.0.1
- spatie/laravel-package-tools: ^1.93.1
- spatie/laravel-sluggable: ^4.0.2
Requires (Dev)
- fakerphp/faker: ^1.24.1
- larastan/larastan: ^3.10.0
- laravel/boost: ^2.4.12
- laravel/pint: ^1.29.3
- misaf/vendra-testing: ^1.0
- mockery/mockery: ^1.6.12
- nunomaduro/collision: ^8.9.4
- orchestra/testbench: ^11.1
- pestphp/pest: ^4.7.5
- pestphp/pest-plugin-arch: ^4.0.2
- pestphp/pest-plugin-laravel: ^4.1
- pestphp/pest-plugin-profanity: ^4.2.1
- pestphp/pest-plugin-type-coverage: ^4.0.4
- phpstan/extension-installer: ^1.4.3
README
Tenant-aware FAQ management for Vendra applications.
Features
- FAQ categories
- FAQs with translatable content
- Filament resources on the
adminpanel
Requirements
- PHP 8.2+
- Laravel 12
- Filament 5
- Livewire 4
- Pest 4
- Tailwind CSS 4
misaf/vendra-tenantmisaf/vendra-usermisaf/vendra-activity-log
Installation
composer require misaf/vendra-faq php artisan vendor:publish --tag=vendra-faq-migrations php artisan migrate
Optional translations publish:
php artisan vendor:publish --tag=vendra-faq-translations
The service provider and Filament plugin are auto-registered.
Usage
Create an FAQ category:
use Misaf\VendraFaq\Models\FaqCategory; $category = FaqCategory::query()->create([ 'name' => ['en' => 'General'], 'description' => ['en' => 'General questions'], 'slug' => ['en' => 'general'], 'position' => 1, 'status' => true, ]);
Create an FAQ:
use Misaf\VendraFaq\Models\Faq; Faq::query()->create([ 'faq_category_id' => $category->id, 'name' => ['en' => 'How do I create an account?'], 'description' => ['en' => 'Use the register page and verify your email.'], 'slug' => ['en' => 'how-do-i-create-an-account'], 'position' => 1, 'status' => true, ]);
Load FAQs with their category:
$faqs = Faq::query() ->with('faqCategory') ->where('status', true) ->get();
Filament
Resources are available in the Faqs cluster on the admin panel:
- FAQ Categories
- FAQs
Testing
composer test
License
MIT. See LICENSE.