1 Star 1 Fork 0

orange / over-blog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

运行环境要求

  • Nginx 1.8+
  • PHP 7.2+
  • MySQL 5.7+
  • Redis 3.0+
  • node.js 8.0+

说明

目前Laravel版本已经完成,Yii2版本正在开发中,下面的操作是基于Laravel版本来进行的,微信小程序需要自己去编写小程序代码实现小程序登录,具体可以参考我这篇文章: 微信小程序实现微信扫码登录

安装

  1. git clone https://github.com/hxfighting/over-blog.git -b 3.0
  2. 发布配置文件 cd over-blog/back-end/PHP/laravel && cp .env.example .env,然后将.env中的配置项填写完整
  3. 安装依赖 composer install
  4. 生成APP_KEY /over-blog/back-end/PHP/laravel/php artisan key:g
  5. 生成JWT的key /over-blog/back-end/PHP/laravel/php artisan jwt:s
  6. 更新ip /over-blog/back-end/PHP/laravel/php artisan geoip:update
  7. 生成数据库数据表 /over-blog/back-end/PHP/laravel/php artisan migrate

后台管理系统

  1. cd over-blog/front-end/blog_admin && npm install
  2. 修改over-blog/front-end/blog_admin/src/config 中的index.js文件配置
  3. npm run dev

扩展包使用情况

扩展包 一句话描述 本项目应用场景
overtrue/easy-sms 多网关短信发送组件 发送短信
barryvdh/laravel-cors laravel跨域包 处理api接口跨域以及微信小程序登录跨域
overtrue/laravel-filesystem-qiniu 七牛 CDN SDK 各种图片存储
mews/captcha laravel验证码包 后台登录验证码
overtrue/laravel-lang Laravel 多语言 报错信息本地化
overtrue/wechat 微信 SDK 小程序相关
overtrue/laravel-socialite 社交登录组件 用户使用第三方登录
propaganistas/laravel-phone Laravel手机号验证包 后台手机号验证
tymon/jwt-auth Laravel JWT包 用于api的jwt认证
watson/rememberable Laravel 5 query cache 用于缓存模型数据
guzzlehttp/guzzle HTTP 请求套件 我也记不得,反正就是要用
predis/predis Redis 官方首推的 PHP 客户端开发包 缓存驱动 Redis 基础扩展包
sentry/sentry-laravel Sentry 报错监控 监控系统错误
tucker-eric/eloquentfilter 模型字段过滤 接口字段过滤
torann/geoip IP地址解析 用户IP地址解析
laravel/telescope Laravel 调试面板 调试

自定义 Artisan 命令

命令行名字 说明 Cron 代码调用
sms:send 发送短信
index:view 更新首页浏览统计

License

MIT

MIT License Copyright (c) 2018 hxfighting Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

后端分离,基于vue+iview,前端使用模板渲染,后端php、go 展开 收起
PHP
MIT
取消

发行版 (2)

全部

贡献者

全部

近期动态

加载更多
不能加载更多了
PHP
1
https://gitee.com/mxwss/laravel-blog.git
git@gitee.com:mxwss/laravel-blog.git
mxwss
laravel-blog
over-blog
3.0

搜索帮助