https://github.com/gphper/myswoole
一个基于swoole的框架实现(实验性质)
https://github.com/gphper/myswoole
Last synced: over 1 year ago
JSON representation
一个基于swoole的框架实现(实验性质)
- Host: GitHub
- URL: https://github.com/gphper/myswoole
- Owner: gphper
- Created: 2020-08-18T13:19:32.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-23T14:42:56.000Z (almost 6 years ago)
- Last Synced: 2025-02-01T18:26:26.381Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MySwoole
这个项目是以swoole为基础,实现一个框架从无到有的过程目前打算实现的功能有
## 依赖
* php 7.4
* swoole 4.5.1
## 功能列表
- [x] **类的自动加载**
- [x] **路由功能**
- [x] **中间件功能**
- [x] **读取配置文件**
- [ ] **事件调用**
- [ ] **异常处理**
### 经验总结
* [php自动加载类](https://www.cnblogs.com/itsuibi/p/13340368.html)
* [路由器的实现](https://www.cnblogs.com/itsuibi/p/13532308.html)
* [责任链模式实现中间件](https://www.cnblogs.com/itsuibi/p/13549378.html)
* [使用 array_reduce 实现自定义配置文件](https://www.cnblogs.com/itsuibi/p/13551198.html)