2017 © Pedro Peláez
 

library solumen

Lumen & Swoole

image

ttmama/solumen

Lumen & Swoole

  • Monday, June 5, 2017
  • by ttmama
  • Repository
  • 1 Watchers
  • 1 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

solumen

Swoole with lumen, (*1)

Depends On

  • php >= 7.1.*
  • laravel/lumen > 5.3.*
  • ext-swoole >= 1.9.*

安装

 composer require ttmama/solumen

剪切本类库 app 目录下的 Application.php 到项目根目录 app 目录下,修改项目根目录 bootstrap 目录中的 app.php, (*2)

修改其中, (*3)

 $app = new \Laravel\Lumen\Application(
    realpath(__DIR__.'/../')
 );

为, (*4)

 $app = new App\Application(
    realpath(__DIR__.'/../')
 );

使用

 vendor/bin/solumen start | stop | reload | restart | quit

The Versions

05/06 2017

dev-master

9999999-dev

Lumen & Swoole

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

by Robert.Liu

lumen swoole