kyfjake/lumen-swoole

There is no license information available for the latest version (dev-master) of this package.

speedup lumen by swoole

dev-master 2019-07-26 06:42 UTC

This package is not auto-updated.

Last update: 2024-12-08 07:44:39 UTC


README

This project is used to speed up lumen framework with swoole extension.

version support

has been used with lumen 5.7.x

install

change composer.json

composer require kyfjake/lumen-swoole @dev

usage

./vendor/bin/lumen-server [options] [start|status|stop]

Options

  1. -d run as daemonize
  2. -p port change listen port. default is 8080
  3. -h ip change listen ip. default is 127.0.0.1
  4. -n num change worker num to process http request. default is 8
  5. -v verbose log
  6. --queue_num num set lumen queue worker num. default is 0, disable
  7. --log_file change swoole log file path. default is ./swoole.log