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
];
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.