I have to convert a dynamic page written with TWIG to PDF. I am unable to make him interpret the TWIG code, every php, html output is rendered but TWIG is ignored. Can you tell me if there is a solution that is not "to rewrite the same template in php" ?
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
use the render function? it outputs html so that you can pass it in your DomPDF.
If you are under Symfony