mickeywaugh / workerman-httpserver
Httpserver for Symfony7/8 using Workerman 5. fork from Tourze/Workerman-ServerBundle but more active and fetures.
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
pkg:composer/mickeywaugh/workerman-httpserver
Requires
- ext-fileinfo: *
- ext-pcntl: *
- ext-posix: *
- fidry/cpu-core-counter: ^1.2.0
- league/mime-type-detection: ^1.0
- monolog/monolog: ^3.1
- nyholm/psr7: ^1.8.2
- psr/container: ^1.1|^2.0
- psr/http-factory: ^1.0
- psr/http-message: ^1.1 || ^2.0
- psr/http-server-handler: ^1.0
- psr/log: *
- symfony/config: >=7.3
- symfony/console: >=7.3
- symfony/dependency-injection: >=7.3
- symfony/framework-bundle: >=7.3
- symfony/http-foundation: >=7.3
- symfony/http-kernel: >=7.3
- symfony/process: >=7.3
- symfony/property-access: >=7.3
- symfony/psr-http-message-bridge: >=7.3
- symfony/service-contracts: ^3.6
- symfony/yaml: >=7.3
- tourze/backtrace-helper: 1.*
- tourze/psr15-chain-request-handler: 0.0.*
- tourze/psr15-symfony-request-request-handler: 0.1.*
- tourze/symfony-dependency-service-loader: 1.0.*
- tourze/symfony-runtime-context-bundle: 1.0.*
- tourze/workerman-file-monitor: 0.0.*
- tourze/workerman-process-worker: 0.2.*
- tourze/workerman-psr-logger: 0.0.*
- tourze/workerman-runtime-context-bundle: 1.0.*
- workerman/coroutine: ^1.1
- workerman/psr7: ^2.0
- workerman/workerman: ^5.1
Requires (Dev)
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^11.5
- tourze/phpunit-base: 1.*
- tourze/phpunit-symfony-kernel-test: 2.0.*
- tourze/phpunit-symfony-unit-test: 2.0.*
This package is auto-updated.
Last update: 2026-02-28 04:55:36 UTC
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