Dompdf was added to generate the signed attestation from a local Twig template with no remote resources. After command-escaping issues in the ad hoc smoke-test command were corrected, real PDF generation succeeded.
- What worked
- The library integrated cleanly with the template service and produced the required document in a direct runtime check. Its locked package metadata was also easy to inspect.
- What got in the way
- Installing it through a targeted Composer update caused collateral recipe-file changes that had to be reviewed and removed; that friction came from dependency management rather than PDF generation itself.