ozgurince / simpleforum
simple forum package for Laravel 5.4
Installs: 114
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 0
Language:HTML
This package is not auto-updated.
Last update: 2025-02-02 05:21:47 UTC
README
Package for Laravel 5.4 demo url: https://simpleforum.000webhostapp.com/ozgurince/simpleforum
Features
- Users can sign up and sign in.
- Users can show all of forum pages.
- Members can create conversations with files.
- Members can reply existing conversations with files.
- Members can update and delete own comments and posts.
- Members can like comments.
- Members can update their informations (name, email. password, profile photo etc.)
- Admins also has members' permissions.
- Admins can ban members.
Installation
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
Contributing
1.- Fork it 2.- Create your feature branch 3.- Commit your changes 4.- Push to the branch 5.- Create a new Pull Request
License
MIT