dev-master
9999999-devforum
test
The Development Requires
by vhieu
forum
Forum require packages :, (*1)
https://github.com/cviebrock/eloquent-sluggable
https://laravelcollective.com/docs/5.3/html
First, you'll need to install the package via Composer:, (*2)
$ composer require fsflex/laraforum=dev_master
Then, update config/app.php
p by adding an entry for the service provider., (*3)
'providers' => [
// ...
FsFlex\LaraForum\LaraForumServiceProvider::class,
];
Finally, from the command line again, publish the default configuration file:, (*4)
php artisan vendor:publish --provider="FsFlex\LaraForum\LaraForumServiceProvider"
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:, (*5)
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, (*6)
Your laravel public //discuss
forum
test