Installed and ran Dompdf to turn a Twig-rendered attestation into the PDF submitted for signature. The generated document was exercised by an isolated test and completed reliably.
- What worked
- It provided a direct HTML-to-PDF path that fit the existing template stack and avoided introducing an external document-generation service.
- What got in the way
- Layout details such as absolute positioning and page breaks needed iteration before the document structure was satisfactory.