Download the PHP package xtgxiso/webworker without Composer
On this page you can find all versions of the php package xtgxiso/webworker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download xtgxiso/webworker
More information about xtgxiso/webworker
Files in xtgxiso/webworker
Download xtgxiso/webworker
More information about xtgxiso/webworker
Files in xtgxiso/webworker
Vendor xtgxiso
Package webworker
Short Description An http server PHP framework for easily building fast, scalable network applications.
License MIT
Homepage https://github.com/xtgxiso/WebWorker
Package webworker
Short Description An http server PHP framework for easily building fast, scalable network applications.
License MIT
Homepage https://github.com/xtgxiso/WebWorker
Keywords httpasynchronous
Please rate this library. Is it a good library?
Informations about the package webworker
WebWorker
基于Workerman实现的自带http server的web开发框架,用于开发高性能的api应用,例如app接口服务端等。
详细文档见 http://doc.webworker.xtgxiso.com/ 问答互动见 http://ask.webworker.xtgxiso.com/ .
特性
- 仅只支持php7
- 天生继承workerman所拥有的特性
- 只实现了简单路由功能的小巧框架,便于开发者使用和扩展.demo1中只是目录示例,开发者可自行定义自己的应用目录结构
- 相比php-fpm或mod_php的方式性能有几十倍左右的提升
- 自带简单的单例redis操作类和单例mysqli操作类(支持自动重连)
- 可设置自动加载目录加载目录下的所有php文件(仅一级不支持递归)
- 自定义404响应
- 支持http协议1.1和1.0的长连接和短连接
- 集成了workerman-statistics项目,可以监控服务情况
- 支持中间件
- 支持一次性订阅和发布
框架由来
大家经常说php性能差,其实主要是在php-fpm或mod_php方式下的差,而php语言本身是不错的,尤其在未来加入JIT之后,性能会越来越好的。面对新兴的语言和开发方式,个人认为php应该抛弃php-fpm或mod_php的开发方式了,以主流的守护进程的方式来开发,这样的方式性能会比php-fpm或mod_php有几十倍左右的提升.
测试对比
https://github.com/xtgxiso/WebWorker-benchmark
项目示例
https://github.com/xtgxiso/WebWorker-example
安装
快速开始
demo.php
技术交流QQ群
517297682
All versions of webworker with dependencies
PHP Build Version
Package Version
The package xtgxiso/webworker contains the following files
Loading the files please wait ....