GitHunt
BR

bryanjamesmiller/laravel-forum

A complete forum package designed for easy integration into any Laravel 4/5 application

Scrutinizer Code Quality
Build Status

See the wiki for an overview of this project, goals and features, as well as documentation.

Installation

Step 1: Install the package

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',

Step 2: Publish the package files

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.

Step 3: Update your database

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.

Languages

PHP100.0%

Contributors

MIT License
Created June 17, 2015
Updated February 29, 2020