Get List Of FAQ Api

dev-master 2022-05-26 07:27 UTC

This package is auto-updated.

Last update: 2024-05-26 11:59:01 UTC


README

Faq is a laravel package for quick Faq Api Module setup in laravel..

Installation

Use the package manager composer to install Faq.

Step – 1 📌

Go To Your Laravel Application Folder

Step – 2 📌

go command prompt

Step – 3 📌
composer require jsbhudev/faq
Step – 4 📌
php artisan vendor:publish --tag=config
Step – 5 📌
Go to file config\faq.php

Follow Path Array Set Your Custom Output

'path' => [
    'route' => 'api/faq',
    'success_msg' => 'Faq Get Successfully',
    'question' => 'Question',
    'answer' => 'Ans',        
    ],
Step – 6 📌

Set .env File As You Can Use Regularly

For new Setup :
php artisan migrate:fresh
For existing Setup :
php artisan migrate
Step – 7 📌

Get A List Of Registered Route Follow Command

php artisan route:list
Step – 8 📌

Following Route Is Exist Or Not

URI         | Name          | Action
api/faq     | api.faq.index | jsbhudev\faq\Http\Controllers\Api\FaqController@index
🙏 Thank You for your intrest. 🙏