2017 © Pedro Peláez
 

library swoole-flier-mouse-base

swoole-flier-mouse-base

image

chenshuhao/swoole-flier-mouse-base

swoole-flier-mouse-base

  • Sunday, October 29, 2017
  • by ChenShuHao
  • Repository
  • 1 Watchers
  • 0 Stars
  • 15 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

swoole-flier-mouse

基于swoole 的框架, (*1)

install

composer require chenshuhao/swoole-flier-mouse-base, (*2)

demo

test.php, (*3)

include './vendor/autoload.php';
SwooleFlierMouseBase\Core::getInstance()
    ->setConf('./conf.yaml')
    ->bindExec('http',function($req,$res){
        return '<h1>hello word</h1>';
    })
    ->bindExec('http2',function($req,$res){
        return '<h1>hello word2</h1>';
    })
    ->run();

php ./test.php start [-d], (*4)

conf.yaml

temp: tmp //临时文件路径
servers:
  http:
    host: 0.0.0.0
    protocol: http
    domain: test.dazhiwulian.com
    port: 80
    session: true
  http2:
    host: 0.0.0.0
    protocol: http
    domain: test2.dazhiwulian.com
    port: 9091

The Versions

29/10 2017

dev-master

9999999-dev

swoole-flier-mouse-base

  Sources   Download

MIT

The Requires

 

by Avatar ChenShuHao

29/10 2017

0.0.3

0.0.3.0

swoole-flier-mouse-base

  Sources   Download

MIT

The Requires

 

by Avatar ChenShuHao

27/10 2017

0.0.2

0.0.2.0

swoole-flier-mouse-base

  Sources   Download

MIT

The Requires

 

by Avatar ChenShuHao

27/10 2017

0.0.1

0.0.1.0

swoole-flier-mouse-base

  Sources   Download

MIT

The Requires

 

by Avatar ChenShuHao