Skip to content

taskforcedev/faq

Repository files navigation

FAQ Package

Laravel FAQ Package.

Installation

To install the package first of all you should add the package to your projects composer.json

"require": { "taskforcedev/faq": "1.*" }

Then run composer update

Then add the following service provider(s) to your config/app.php (the laravel-support package may already be added so no need to add it twice if it is present).

'providers' => [ ... Taskforcedev\LaravelSupport\ServiceProvider::class, Taskforcedev\Faq\ServiceProvider::class, ]

Then publish the laravel-support config (if you do not have this already)

php artisan vendor:publish --tag="taskforce-support"

Edit the config, in particular the layout to match your sites master layout.

Finally visit the installation route to run the migrations http://yoursite.com/admin/faq/install

Routes

  • GET: /faq
  • GET: /admin/faq