An open API service indexing awesome lists of open source software.

https://github.com/gphper/myswoole

一个基于swoole的框架实现(实验性质)
https://github.com/gphper/myswoole

Last synced: over 1 year ago
JSON representation

一个基于swoole的框架实现(实验性质)

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)