ozgurince/simpleforum
Composer 安装命令:
composer require ozgurince/simpleforum
包简介
simple forum package for Laravel 5.4
README 文档
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
ozgurince/simpleforum 适用场景与选型建议
ozgurince/simpleforum 是一款 基于 HTML 开发的 Composer 扩展包,目前已累计 115 次下载、GitHub Stars 达 2, 最近一次更新时间为 2017 年 07 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 ozgurince/simpleforum 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ozgurince/simpleforum 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 115
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-07-08