Package Data | |
---|---|
Maintainer Username: | ozgurince |
Maintainer Contact: | oince026@gmail.com (Ozgur Ince) |
Package Create Date: | 2017-07-08 |
Package Last Update: | 2017-07-10 |
Language: | HTML |
License: | MIT |
Last Refreshed: | 2025-02-06 03:02:38 |
Package Statistics | |
---|---|
Total Downloads: | 113 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 2 |
Total Forks: | 1 |
Total Open Issues: | 0 |
Package for Laravel 5.4 demo url: https://simpleforum.000webhostapp.com/ozgurince/simpleforum
1.- Download the package
composer require ozgurince/simpleforum
2.- After installing this package, you have to set the service provider on your config/app.php file
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.
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.
php artisan vendor:publish --tag=public --force
5.- Add your $routeMiddleware variable in Kernel.php
'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
1.- Fork it 2.- Create your feature branch 3.- Commit your changes 4.- Push to the branch 5.- Create a new Pull Request
MIT