books
Two books, two worlds
One is for developers shipping AI features in PHP. The other follows a Sanskrit idea about flavour across two thousand years. Both are about the same thing: how experience gets its structure.

Evolution of rāsa
From fear to flavour
Rāsa, the Sanskrit word for flavour, essence, taste, became one of the richest ideas in the history of religious thought. This book traces the evolution of the human/divine relationship in South Asian religious literature: from the fear of the early hymns to the devotional sweetness of bhakti, where tasting God became a discipline of its own.
- A history of the human/divine relationship in South Asian religious literature
- Rāsa's journey from dramaturgy to devotion
- The companion to the Beyond Code essays

Building AI Applications with PHP
LLMs, agents, and intelligent features for PHP developers
The AI wave did not skip PHP. It just needed a guide. This book takes you from your first API call to designing full agentic applications: prompting, embeddings, retrieval, tool use, and evaluation, all in the language that powers most of the web.
- From first LLM call to production-ready agents
- Retrieval, embeddings, and tool use in plain PHP
- Built alongside papi-ai, the open source PHP agent library