mickeywaugh/workerman-httpserver
最新稳定版本:v1.0.3
Composer 安装命令:
composer require mickeywaugh/workerman-httpserver
包简介
Httpserver for Symfony7/8 using Workerman 5. fork from Tourze/Workerman-ServerBundle but more active and fetures.
README 文档
README
Fork from tourze/workerman-server-bundle, but more activity and fetures.
Installation
composer require mickeywaugh/workerman-httpserver
Add the bundle to your config/bundles.php:
return [ // ... Mickeywaugh\WorkermanServerBundle\WorkermanServerBundle::class => ['all' => true], ];
Quick Start
Starting the HTTP Server
# Start the server php bin/console workerman:http start --port=8080 --host=127.0.0.1 # Start as daemon php bin/console workerman:http start -d --port=8080 --host=127.0.0.1 # Stop the server php bin/console workerman:http stop # Restart the server php bin/console workerman:http restart # Check server status php bin/console workerman:http status # Reload workers (graceful restart) php bin/console workerman:http reload # View connection details php bin/console workerman:http connections
The server will start on http://127.0.0.1:8080 by default.
Commands
workerman:http
The main command to manage the Workerman HTTP server.
Description: Start Workerman HTTP server for your Symfony application
Usage:
php bin/console workerman:http <action>
Options:
--host: The host address to bind to (default: 127.0.0.1). Also can be set via the environment variableWORKERMAN_SERVER_HOST.--port: The port number to listen on (default: 8080). Also can be set via the environment variableWORKERMAN_SERVER_PORT.--daemonize or -d: Run the server as a daemon process
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-28