kyfjake / lumen-swoole by Jake Guo

speedup lumen by swoole
5
0
0
Package Data
Maintainer Username: Jake Guo
Package Create Date: 2019-07-26
Package Last Update: 2019-07-26
Language: PHP
License: Unknown
Last Refreshed: 2024-12-15 15:22:41
Package Statistics
Total Downloads: 5
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 0
Total Forks: 0
Total Open Issues: 0

Lumen Swoole

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