PHP

Any, Alternative for HTML to docx conversion, just like DOMPDF?

Ive been using DOMPDF for html to pdf conversion, for some time, is there any other option for docx(converting html to word), and if so, would be helpful if you shared a link.

Speed Member
Speed
0
2
130
alex Member
alex
Moderator

Yep, https://github.com/PHPOffice/PHPWord is probably the best option for building up a word document in PHP.

I haven't used this too much, so let me know if it doesn't do something specific you're looking for.

Also, there are a few cloud-based providers that offer this service, but it would be paid.

Let me know how PHPWord goes!