explore-pu / lumen-swoole
speed up lumen framework by swoole
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/explore-pu/lumen-swoole
Requires
- php: >=8.0
- laravel/lumen-framework: >=10.0
This package is auto-updated.
Last update: 2025-10-16 07:32:55 UTC
README
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