Install the package via composer:
composer require riari/laravel-forum:~2.x
Then add the following service provider to your
Run the vendor:publish command to copy the controller, config, resources and migrations to your app's directories:
php artisan vendor:publish
In your published config, you may need to modify the
forum.integration.user_name_attributeconfig option according to your user model. This specifies which attribute on the user model should be used as a display name in the forum views.
Run your migrations:
php artisan migrate
Once complete, you can define your categories and sub-categories in the forum_categories table. The schema is simple, so you should be able to do that on your own using Laravel seeds or straightforward SQL.
Once your categories are set up, go to