Reference
One concept guide per component. Each page assumes you know what HTML is, what a ZIP file is, what a stream is — and explains how this particular component models that thing in pure PHP. If a concept appears for the first time in the tutorial, the reference page links back.
Content and migration
- HTMLBrowser-grade HTML5 parser and tag rewriter. Cursor model, byte-for-byte edits, breadcrumb queries.
- BlockParserParse WordPress block markup into the array shape WordPress core returns. No
block.json, no rendering. - MarkdownConvert between Markdown and WordPress block markup, with frontmatter for metadata.
- XMLA cursor-based XML processor that reads, edits, and emits export-sized files without building a tree.
- EncodingValidate, classify, and repair UTF-8 bytes before they reach a strict parser.
- DataLiberationStream WordPress-shaped entities between sites. URL rewriting, attachment frontloading, resumable migration.
Streams and storage
- ByteStreamPull / peek / consume read streams and chunked write streams. Composable filters: gzip, hash, limit, window.
- FilesystemOne filesystem interface, multiple backends: local disk, memory, SQLite, ZIP-backed.
- ZipRead and write ZIP archives one entry at a time, in pure PHP. EPUB, .docx, plugin bundles.
- GitRead and write Git objects, refs, and trees in memory. Mount a commit as a filesystem.
- MergeThree-way diffs and merges with explicit conflict records.
Networked tools
- HttpClientHTTP requests with redirects, ranged resumable downloads, an event loop for progress, and pluggable transports.
- HttpServerBind to a local port and answer one request. OAuth callbacks, fixture servers, status pages.
- CORSProxyServer-side fetch for browser apps that can't bypass the same-origin policy.
- CLIParse
argvagainst a declared command-line contract. No console framework.
WordPress runtime support
- PolyfillWordPress-shaped helpers (
esc_html, filters, translation stubs) for code that runs outside WordPress. - BlueprintsVersioned recipes for spinning up a WordPress site with a known plugin set, content, and config.
- ToolkitCodingStandardsPHPCS sniffs that encode the project's review feedback as enforceable rules.