shefoo10/add-faq 问题修复 & 功能扩展

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

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

shefoo10/add-faq

Composer 安装命令:

composer require shefoo10/add-faq

包简介

This is my package add-faq

README 文档

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

add-faq Package for Laravel

The add-faq package is a simple and efficient solution for adding FAQ functionality to your Laravel application. This package automates the creation of Filament resources, models, and migrations for managing Frequently Asked Questions (FAQs) in a structured and easy-to-use interface.

Key Features: Automatic Model Creation: Generates a Faq model to interact with the FAQs data. Migration Setup: Automatically creates the migration file for the faqs table. Filament Resource: Provides a Filament resource to easily manage FAQs through the given panel.

Installation

You can install the package via composer:

composer require shefoo10/add-faq

php artisan add-faq:install

Expected Output

Publishing migrations...

 Would you like to run the migrations now? (yes/no) [no]:
 > yes

Running migrations...

   INFO  Running migrations.

  2025_01_09_224821_create_f_a_q_s_table ...................................................... 22.33ms DONE

Publishing service provider...
add-faq has been installed!

   INFO  Publishing [add-faq-model] assets.

  Copying file [C:\Users\DONATELO\IdeaProjects\add_FAQ\Models\FAQ.php] to [C:\Users\DONATELO\IdeaProjects\{ Project Name }\app\Models\FAQ.php]  DONE

 Which panel do you want to install the package for? [admin]:
 > admin

File [path / to / { Project Name } \app\Filament/Admin/Resources/FAQResource.php] Added to Admin Panel
File [path / to / { Project Name } \app\Filament/Admin/Resources/FAQResource/Pages/CreateFAQ.php] Added to Admin Panel
File [path / to / { Project Name } \app\Filament/Admin/Resources/FAQResource/Pages/EditFAQ.php] Added to Admin Panel
File [path / to / { Project Name } \app\Filament/Admin/Resources/FAQResource/Pages/ListFAQs.php] Added to Admin Panel

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-09