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.2.0
workerman/workerman Version ^4.0
nikic/fast-route Version ^1.3
mongdch/mon-util Version ^1.3
mongdch/mon-log Version ^1.0
workerman/workerman Version ^4.0
nikic/fast-route Version ^1.3
mongdch/mon-util Version ^1.3
mongdch/mon-log Version ^1.0
The package mongdch/mon-http contains the following files
Loading the files please wait ....