misaf/vendra-faq 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

misaf/vendra-faq

Composer 安装命令:

composer require misaf/vendra-faq

包简介

Frequently Asked Questions management system with categorization

README 文档

README

Tenant-aware FAQ management for Vendra applications.

Features

  • FAQ categories
  • FAQs with translatable content
  • Filament resources on the admin panel

Requirements

  • PHP 8.2+
  • Laravel 12
  • Filament 5
  • Livewire 4
  • Pest 4
  • Tailwind CSS 4
  • misaf/vendra-tenant
  • misaf/vendra-user
  • misaf/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.

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 4
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-02-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固