laraforum
Installation
First, you'll need to install the package via Composer:
$ composer require fsflex/laraforum=dev_master
Then, update config/app.php
p by adding an entry for the service provider.
'providers' => [ // ... FsFlex\LaraForum\LaraForumServiceProvider::class, ];
Finally, from the command line again, publish the default configuration file:
php artisan vendor:publish --provider="FsFlex\LaraForum\LaraForumServiceProvider"
Configuration
By default, global configuration can be set in the config/laraforum.php
file.
If a configuration isn't set, then the package defaults from vendor/fsflex/laraforum/src/resources/config/laraforum.php
are used.
Here is an example configuration, with all the default settings shown:
return [ 'template' => 'discuss', 'pagename' => 'LaraForum', 'basic_title' => 'title forum', 'basic_description'=>'forum description', 'url_prefix' => 'laraforum', 'admin_username' => 'admin', 'posts_interval' => 30,//seconds 'threads_interval' => 300,//seconds 'threads_paginate' => 20, 'posts_paginate' =>20, ];