Hello.
I meet a problem with Dompdf when i try to transform docx to pdf.
First i create docx form template, then i replace variable by word fragment and text, save it to .docx.
Than i wanted to transform it to pdf before download it by the users :
// Here PDF => Barryvdh\DomPDF\Facade::class
$dompdf = new PDF();
$transform = new \Phpdocx\Transform\TransformDocAdvNative();
$transform->transformDocument(public_path('contrats').'/contrat_formate.docx', public_path('contrats').'/contrat_formate_pdf.pdf', array('dompdf' => $dompdf));
But i meet this error :
Undefined property: Barryvdh\DomPDF\Facade\Pdf::$version
Thanks for the help !