shefoo10/add-faq
Composer 安装命令:
composer require shefoo10/add-faq
包简介
This is my package add-faq
关键字:
README 文档
README
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
其他信息
- 授权协议: MIT
- 更新时间: 2025-01-09