https://github.com/jqhph/swoft-admin
此项目已废弃
https://github.com/jqhph/swoft-admin
swoft
Last synced: about 1 year ago
JSON representation
此项目已废弃
- Host: GitHub
- URL: https://github.com/jqhph/swoft-admin
- Owner: jqhph
- License: mit
- Created: 2018-10-08T14:46:40.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-28T05:13:45.000Z (about 7 years ago)
- Last Synced: 2024-04-14T09:58:51.766Z (about 2 years ago)
- Topics: swoft
- Language: PHP
- Homepage:
- Size: 4.04 MB
- Stars: 70
- Watchers: 6
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# swoft-admin
`Swoft Admin`是基于[swoft](https://github.com/swoft-cloud/swoft)框架开发而成的后台系统快速构建工具,使用极少的代码即可构建出一个功能完善的后台系统,性能强悍、代码简洁、易扩展。
>本项目基于[laravel-admin](http://laravel-admin.org/)重构而成,保留了基本的代码架构和大部分api。主要改动如下:
>+ 分离了页面构建层和数据层(移除了对框架orm的强绑定)
>+ 解决了`pjax`按需加载问题
>+ 调整了部分api的用法,使用更方便
[Demo](http://103.45.104.52:8000)|[文档]()|[Demo源码](https://github.com/jqhph/swoft-admin-demo)|[自动集成版](https://github.com/jqhph/swoft-admin-auto)
## 环境
+ PHP 7.0 +
+ Swoft 1.0.0最新版本
+ Swoole 推荐4.0以上版本
## 特性
+ 基于[swoole](https://www.swoole.com/),程序常驻内存性能强悍,支持协程(异步IO同步代码)
+ `Admin::grid`支持快速构建数据表格
+ `Admin::form`支持快速构建数据表单
+ 支持代码生成器快速生成CURD代码、语言包、数据库迁移文件、SWOFT实体等
+ 支持`Blade`模板引擎, 支持使用路径别名引入静态资源
+ 支持`pjax`按需加载构建单页应用
+ 支持web debug控制台
+ 支持扩展组件,支持插件机制
+ 支持数据库版本迁移管理
+ 基于[league/flysystem](http://flysystem.thephpleague.com/docs/)上传文件,可以轻松实现远程上传及云服务上传
## 后端依赖组件
+ [Swoft](http://www.swoft.org/)
+ [league/flysystem](http://flysystem.thephpleague.com/docs/)
+ [phinx](http://docs.phinx.org/en/latest/)
+ [filp/whoops](http://filp.github.io/whoops/)
## 前端依赖组件
> 注意,为解决前端pjax按需加载功能,本项目修改了`pjax`的代码,请勿升级
> 同样,为优化按钮布局,`RWD-Table-Patterns`的代码也进行了微调,请勿升级
+ [AdminLTE](https://almsaeedstudio.com/)
+ [RWD-Table-Patterns](http://gergeo.se/RWD-Table-Patterns/)
+ [Datetimepicker](http://eonasdan.github.io/bootstrap-datetimepicker/)
+ [font-awesome](http://fontawesome.io)
+ [moment](http://momentjs.com/)
+ [Google map](https://www.google.com/maps)
+ [Tencent map](http://lbs.qq.com/)
+ [bootstrap-fileinput](https://github.com/kartik-v/bootstrap-fileinput)
+ [jquery-pjax](https://github.com/defunkt/jquery-pjax)
+ [Nestable](http://dbushell.github.io/Nestable/)
+ [layer弹出层](https://layer.layui.com/)
+ [editor.md](https://pandao.github.io/editor.md/)
+ [bootstrap-number-input](https://github.com/wpic/bootstrap-number-input)
+ [fontawesome-iconpicker](https://github.com/itsjavi/fontawesome-iconpicker)
## 安装
鉴于目前`swoft`框架注解扫描配置比较繁琐,为此推荐大家使用 [自动集成版](https://github.com/jqhph/swoft-admin-auto):
开箱即用,免去繁琐的安装步骤,并内置一些基础功能代码,上手更简单。
[手动安装请点我](https://github.com/jqhph/swoft-admin/blob/6aa5d78174647cb524f365b3ac4cc1493ce0885f/docs/zh/install.md)
## 加入我们
如果你对此项目有兴趣,欢迎加入我们。
欢迎大家提建议和pr。