ZealPHP on OpenSwoole

An async PHP framework tuned for coroutine I/O, SSR streaming, WebSocket, and low-latency services.
Built to keep requests lean and the event loop moving.

Local benchmark on 4 workers
4
workers
67k
req/s
21ms
p90 latency
0
failures

Quick Start

Pick the starter-project path or run the framework repo directly.

# Starter project
composer create-project sibidharan/zealphp-project:^0.1.1 ~/zealphp-project
cd ~/zealphp-project
php app.php
# → https://php.zeal.ninja
# Framework repo
git clone https://github.com/sibidharan/zealphp.git ~/zealphp
cd ~/zealphp
php app.php
# → https://php.zeal.ninja

Why ZealPHP?

🚀

No blocking

Every I/O call — file, DB, HTTP — yields to the event loop. OpenSwoole HOOK_ALL makes existing PHP libraries async automatically.

🧵

True coroutines

Not fake async with callbacks. Real coroutines with go() + Channel. Write synchronous code that runs concurrently.

🔧

PHP you already know

Superglobals, sessions, headers — all work via uopz overrides. Migrate existing apps without rewriting everything.

📐

PSR standards

PSR-7 request/response, PSR-15 middleware. Drop in any PSR-15 middleware package.

📊

Benchmark

Local quad-core /raw/bench sweep at c=1000 in bench mode: ZealPHP sustained 67k req/s, 21ms p90, and 0 failures on 4 workers.

🔓

Open source

MIT licensed. Maintained by the community. Built on OpenSwoole, one of PHP's most battle-tested async runtimes.