Package Data | |
---|---|
Maintainer Username: | ChieveiT |
Maintainer Contact: | javachieveit@163.com (ChieveiT) |
Package Create Date: | 2015-06-15 |
Package Last Update: | 2015-10-18 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-26 15:17:07 |
Package Statistics | |
---|---|
Total Downloads: | 53 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 31 |
Total Watchers: | 5 |
Total Forks: | 10 |
Total Open Issues: | 1 |
#Swoole & Laravel 以swoole_http_server为应用服务器,Laravel为业务框架的web后端方案
##依赖
##安装 在laravel5.1项目目录下
composer require swala/server:~1.0
安装后位于项目目录下的server/
##配置 server/config.php
默认host为127.0.0.1,port为9501
其余配置项对应swoole的可用配置项,传送门
##脚本 在server目录下
启动
php startup.php
关闭
php shutdown.php
重启所有Worker
php worker_restart.php
重启所有Task
php task_restart.php
##说明
##缺陷
##代码许可 MIT
Written with StackEdit.