See the wiki for an overview of this project, goals and features, as well as documentation.
Install the package via composer:
composer require riari/laravel-forum:~2.0
Then add the following service provider to your config/app.php
:
'Riari\Forum\ForumServiceProvider',
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_attribute
config 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 /forum and you should see a brand new forum.