christyjoshy / faq-manager
This is a FAQ manager package
Fund package maintenance!
christyjoshy
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:Blade
Requires
- php: ^7.4
- illuminate/contracts: ^8.37
- livewire/livewire: ^2.5
- spatie/laravel-package-tools: ^1.4.3
Requires (Dev)
- brianium/paratest: ^6.2
- nunomaduro/collision: ^5.3
- orchestra/testbench: ^6.15
- phpunit/phpunit: ^9.3
- spatie/laravel-ray: ^1.9
- vimeo/psalm: ^4.4
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.