Registry / networking / workerman-workerman

workerman-workerman

JSON →
library5.2.2phppackagistunverified

An asynchronous event driven PHP framework for easily building fast, scalable network applications.

composer require workerman/workerman
INSTALL
IMPORT
SIG · WORKERMAN-WORKERMA
W
workerman-workerman
networkingphpv5.2.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Worker
use Workerman\Worker;

Create a simple HTTP server.

use Workerman\Worker; $worker = new Worker('http://0.0.0.0:8080'); $worker->onMessage = function ($connection, $data) { $connection->send('Hello, world!'); }; Worker::runAll();
Debug
Known issues
gotchaWorkerman requires PHP CLI and cannot run under a web server like Apache or Nginx.
fix
Run the script from the command line using `php your_script.php`.
affects: *
Upgrade
Version history
5.2.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
22
OpenAI (training)
1
Resources
workerman-workerman — pip install workerman-workerman · libregistry