explore-pu/lumen-swoole

speed up lumen framework by swoole
2
Install
composer require explore-pu/lumen-swoole
Latest Version:v1.0.3
PHP:>=8.0
License:MIT
Last Updated:Jul 9, 2024
Links: GitHub  ·  Packagist
Maintainer: pucoder

安装

composer require explore-pu/lumen-swoole

配置

  • 在bootstrap/app.php中注册service provider
$app->register(LumenSwoole\SwooleServiceProvider::class);
  • 发布配置文件
php artisan swoole:publish
  • 同时在bootstrap/app.php加载此文件
$app->configure('swoole');

使用

php artisan swoole:http start|restart|stop|reload|status

php artisan swoole:websocket start|restart|stop|reload|status

Related Packages

kyfjake/lumen-swoole

speedup lumen by swoole

5 0
onex/sword

lumen run in swoole_http_server

611 7
encore/lumen-swoole

lumen-swoole can help you work with lumen and swoole.

158 70
hhxsv5/laravel-s

🚀 LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole.

704,376 3,880