Download the PHP package mongdch/mon-http without Composer
On this page you can find all versions of the php package mongdch/mon-http. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mongdch/mon-http
More information about mongdch/mon-http
Files in mongdch/mon-http
Download mongdch/mon-http
More information about mongdch/mon-http
Files in mongdch/mon-http
Vendor mongdch
Package mon-http
Short Description The FPM and Workerman HTTP Server
License MIT
Homepage https://github.com/MonGDCH
Package mon-http
Short Description The FPM and Workerman HTTP Server
License MIT
Homepage https://github.com/MonGDCH
Please rate this library. Is it a good library?
Informations about the package mon-http
mon-http
支持workerman、fpm多种请求方式的http服务
实现功能
- 基于
workerman的http服务器 - 基于
fast-route的路由支持 - 中间件
Middleware支持,内置Cors跨域、Firewall防火墙、Logger日志、Throttle限流等中间件 Session支持fpm访问支持- 依赖注入支持
文档
查看文档
使用
直接作为HTTP服务器使用
请参考example\workerman.php文件实现
作为mongdch\gaia框架的HTTP服务
-
composer安装完成后,执行gaia vendor:publish mon\http发布组件代码 -
按需修改安装完成后创建的
process\Http进程控制文件 -
按需修改安装完成后创建的
config\http目录下的配置文件 -
在
process\Http进程控制文件定义路由 - 重启
Gaia服务,访问定义的路由
更多请查看example目录相关demo
All versions of mon-http with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
workerman/workerman Version ^4.1 || ^5.1
nikic/fast-route Version ^1.3
mongdch/mon-util Version ^1.3 || dev-master
mongdch/mon-log Version ^1.0 || dev-master
workerman/workerman Version ^4.1 || ^5.1
nikic/fast-route Version ^1.3
mongdch/mon-util Version ^1.3 || dev-master
mongdch/mon-log Version ^1.0 || dev-master
The package mongdch/mon-http contains the following files
Loading the files please wait ...