Task-focused guides: build something, move over from PHP or Clojure, and test, debug, tune, and ship your code.
Build a Web App
An end-to-end tutorial: build a guestbook web app in Phel from an empty folder, with routing, HTML rendering, and request handling.
Coming from Clojure
What transfers from Clojure to Phel, what differs, and what Phel adds, with a side-by-side form mapping
Rosetta Stone: PHP → Phel
Side-by-side PHP and Phel for the same task: variables, functions, collections, strings, control flow, loops, and interop
Cookbook
Runnable Phel recipes grouped by task: collections, strings, files, JSON, HTTP, HTML, dates, CLI tools, errors, and validation.
Testing
Write tests with deftest, is, mocks, and property-based specs, then run them with phel test.
Debugging
Debug Phel code step by step: dbg, tap>, trace, stack traces, REPL breakpoints, Xdebug, PHP dump tools, compiled PHP, and profiling.
Performance
Speed up phel test and phel run with CLI opcache, the compiled-code cache, optimization levels, profiling, and type tags.
Deployment
Deploy Phel apps on plain PHP-FPM or keep namespaces warm across requests with FrankenPHP and RoadRunner worker runtimes.