This package provides a conventional front-end for forlaravel/laravel-forum It should be installed along with the forum unless a custom or alternative front-end implementation is required.
Step 1: Install the package
Install the package via composer:
composer require forlaravel/laravel-forum-frontend
Then add the service provider to your
Step 2: Publish the package files
Run the vendor:publish command to publish the package config and views to your app's directories:
php artisan vendor:publish
Once the package is installed, provided you are logged in, you can visit /forum and start defining your category hierarchy using the "Create category" and "Category actions" panels:
forum.frontend config file defines the controllers used by the package as well as a closure used to process alert messages to be displayed to the user.
Views are published to
resources/views/vendor/forum. The simplest way to integrate the forum with your existing design is to edit the master view, remove undesired markup and make it extend your application's main layout with