Latte as a Ghost in the Machine: a Template Compiler for Tracy

Tracy's templates have always been hand-written .phtml pages full of htmlspecialchars and nested ifs. I'll admit it bugged me for a long time. And then a heretical thought hit me: what if Latte wrote them? But Latte in Tracy? Overkill! Or rather… it could be done, just not the way you'd expect. Tracy is a debugger. It has to run in every PHP project that pulls it into composer.json. In startups,…