christyjoshy/faq-manager
Composer 安装命令:
composer require christyjoshy/faq-manager
包简介
This is a FAQ manager package
README 文档
README
Installation
You can install the package via composer:
composer require christyjoshy/faq-manager
publish the essential files of livewire version
php artisan vendor:publish --provider="Christyjoshy\FaqManager\LivewireFaqManagerServiceProvider"
publish the essential files
php artisan vendor:publish --provider="Christyjoshy\FaqManager\FaqManagerServiceProvider"
Frontend Routing :
Route::faq('faq');
Backend Routing :
Route::category('category'); Route::queries('query');
Api Routes
Frontend Routing :
Route::faqApi('faq');
Backend Routing :
Route::categoryApi('category'); Route::queriesApi('query');
Livewire Routes
Route::faqlivewire('livewire');
This is the contents of the published config file:
return [ /* |-------------------------------------------------------------------------- | Question Perfix Defaults |-------------------------------------------------------------------------- | | This option controls the default prefix string for question in frontend faq page. You may change these defaults | as required | */ 'question_prefix' => 'Q', /* |-------------------------------------------------------------------------- | Answer Perfix Defaults |-------------------------------------------------------------------------- | | This option controls the default prefix string for answer in frontend faq page. You may change these defaults | as required | */ 'answer_prefix' => 'A', /* |-------------------------------------------------------------------------- | Category Name Display Setting |-------------------------------------------------------------------------- | | This option controls the settings for display category title in frontend faq page. Default set to true for displaying. | You can change these default to false for hiding as per your needs. | */ 'category_title_show' => true ];
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-07-06