jundayw / laravel-swoole-server
laravel swoole-server
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/jundayw/laravel-swoole-server
Requires
- php: >=7.2.0
This package is auto-updated.
Last update: 2025-09-28 15:21:59 UTC
README
命令行下, 执行 composer 命令安装:
composer require jundayw/laravel-swoole-server
使用方法
authentication package that is simple and enjoyable to use.
导出配置
php artisan vendor:publish --tag=swoole-config
命令行
php artisan swoole {name} {--action=start|stop|reload|restart|infos}
配置文件
handler:根据具体业务需求自行处理,需要继承 Jundayw\LaravelSwooleServer\Handler;
启动
php artisan swoole default --action=start
终止
php artisan swoole default --action=stop
重载
php artisan swoole default --action=reload
重启
php artisan swoole default --action=restart
查看信息
php artisan swoole default --action=infos