Registry / networking / mix-http-server

mix-http-server

JSON →
library3.0.27phppackagistunverified

Http server library based on Swoole coroutine, following PSR-7 / PSR-15 standard.

composer require mix/http-server
INSTALL
IMPORT
SIG · MIX-HTTP-SERVER
M
mix-http-server
networkingphpv3.0.27
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.

Server
use Mix\HttpServer\Server;

Start a basic HTTP server on port 9501

use Mix\HttpServer\Server; $server = new Server('0.0.0.0', 9501); $server->start();
Debug
Known issues
gotchaRequires Swoole extension installed and enabled.
fix
Install Swoole via pecl install swoole or compile from source.
affects: *
Upgrade
Version history
3.0.27latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
Resources
mix-http-server — pip install mix-http-server · libregistry