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

1.2.0 2021-08-06 04:19 UTC

This package is auto-updated.

Last update: 2024-05-06 18:46:35 UTC


README

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

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.