Forum


Replies: 10   Views: 229
Using dompdf with the native conversion plugin
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 28-10-2024 - 11:00

Hello,

Please note that https://github.com/barryvdh/laravel-dompdf is a wrapper for calling some DOMPDF methods. phpdocx requires using DOMPDF directly, so we recommend you use https://github.com/dompdf/dompdf.

To use a wrapper such as https://github.com/barryvdh/laravel-dompdf, you'd need to get the Dompdf instance. For example, using the getDomPDF method from this library, and then pass it to the phpdocx method. We recommend you use https://github.com/dompdf/dompdf.

Regards.