Alpha ZealPHP is early-stage and under active development. APIs may change between minor versions until v1.0. Feedback and bug reports welcome on GitHub.
API Index — Namespaces, Packages, Reports, Indices

HTTP

Table of Contents

Namespaces

Client
Factory

Classes

Client
Coroutine HTTP client (PSR-18). Every method performs real network I/O via OpenSwoole's coroutine client, so it is exercised by live integration use, not unit tests — excluded from coverage measurement (no offline seam).
ConditionalRequest
RFC 9110 conditional-request evaluator — a pure, server-free port of Apache httpd's ap_meets_conditions() (modules/http/http_protocol.c).
HtmxResponse
Fluent builder for htmx response headers (HX-*).
LazyServerRequest
Lazy PSR-7 ServerRequest — defers expensive hydration until accessed.
MimeResolver
Multi-suffix MIME metadata resolver — Apache mod_mime find_ct parity.
Request
Response
Thin wrapper around \OpenSwoole\Http\Response. The __call / __get / __set proxies forward to the underlying response — these @method annotations expose the forwarded signatures to static analysis so call sites are statically typed instead of treated as mixed.
On this page