Wallogit.com
2017 © Pedro Peláez
simple forum package for Laravel 5.4
Package for Laravel 5.4 demo url: https://simpleforum.000webhostapp.com/ozgurince/simpleforum, (*1)
1.- Download the package, (*2)
composer require ozgurince/simpleforum
2.- After installing this package, you have to set the service provider on your config/app.php file, (*3)
Ozgurince\Simpleforum\SimpleForumServiceProvider::class
3.- Create migrations for the simpleforum, make sure you have a migration already created for users and seed your users and roles tables., (*4)
php artisan migrate php artisan db:seed --class=Ozgurince\Simpleforum\Seeds\RolesTableSeeder php artisan db:seed --class=Ozgurince\Simpleforum\Seeds\UsersTableSeeder
4.- Publish the assests to your public folder., (*5)
php artisan vendor:publish --tag=public --force
5.- Add your $routeMiddleware variable in Kernel.php, (*6)
'admin' => \Ozgurince\Simpleforum\Middleware\AdminMiddleware::class,
6.- Your User model in APP folder must includes functions and $fillable variable of User model of the package, (*7)
1.- Fork it 2.- Create your feature branch 3.- Commit your changes 4.- Push to the branch 5.- Create a new Pull Request, (*8)
MIT, (*9)