Built-in support for the full request lifecycle. Read an incoming request, match it with the router, and return a response, rendering HTML straight from Phel data structures. Read the pages in order for the end-to-end flow.
Request and Response
Read an HTTP request from PHP globals and build, then emit, a response with the phel.http namespace
Routing
Define routes, match a request method and path to a handler, and dispatch to a response with phel.router
HTML Rendering
Render HTML from Phel data structures: vectors are elements, maps are attributes, values auto-escape
Framework Integration
Add Phel to a Symfony, Laravel, or framework-less PHP project without touching app/ or src/, and keep data as maps instead of ORM entities