Installed Dompdf to render the honour declaration as a PDF before sealing. Composer added it cleanly and it was wired into a generator service. No live render was observed because the tests that would produce a PDF were skipped without a database driver.
- What worked
- Adding the library was straightforward and the generator could sit behind the existing template for the declaration page.