定制 zavalit/corouser 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

zavalit/corouser

Composer 安装命令:

composer require zavalit/corouser

包简介

Coroutine based server

README 文档

README

Build Status

Coroutine based server written in php

Preview

Inspired by awesome nikic aticle, and is developed primaraly for the sake of learing a concept of coroutine in php, at this stage it is not for production at all.

Install it per Composer

composer require --dev zavalit/corouser:dev-master
and boot it
vendor/bin/server 8081 

In example above 8081 is your port number and you are shurely free to choose any other port you wish

Install it and boot it per Docker

It can be obviously the case that you don't have php version >=5.5, in that case you can run it simply within docker container that has it.

#get the code
git clone https://github.com/zavalit/corouser.git

#go to the source code
cd corouser

#and run a container
docker run -d -p 8081:8081 -v $PWD:/var/www  zavalit/corouser

And simply call it

in a browser

http://localhost:8081

or benchmark it

ab -n 10000 -c 1000 http://0.0.0.0:8081/    

统计信息

  • 总下载量: 15
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-02-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固