fsflex/laraforum

forum

Installs: 40

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Language:HTML

Type:project

dev-master 2017-01-12 10:35 UTC

This package is auto-updated.

Last update: 2024-04-29 03:35:23 UTC


README

Require

Forum require packages :
https://github.com/cviebrock/eloquent-sluggable
https://laravelcollective.com/docs/5.3/html

Installation

First, you'll need to install the package via Composer:
$ composer require fsflex/laraforum=dev_master
Then, update config/app.phpp 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,
];

Url to forum home site

    Your laravel public /< url_prefix >/discuss