ody/http-server

Swoole HTTP server for ODY framework

dev-master 2025-02-28 17:45 UTC

This package is auto-updated.

Last update: 2025-02-28 17:45:59 UTC


README

composer require ody/http-server
/**
 * Returns an $app instance, in theory this could be anything 
 * as long as it handles psr7 requests/responses. You could for 
 * example plug a Slim framework instance in here.
 */
$kernel = Kernel::init();

(new Http())->createServer(
    $kernel
)->start(),