Search code examples
phpsymfonypdf-conversion

Symfony2 - How to convert doc or docx files to pdf


Is there any method in Symfony that converts MS word files (doc, docx) t pdf ? Any integrated function, bundle? What are your experience with?

Thank you in advance.


Solution

  • There's some great PHP frameworks about at the moment (Symfony2 is on my list to try) but one of the things I notice here is that people often think that the framework should handle everything. However, these frameworks are just PHP, so in general if you have a need for extra functionality, just look for a PHP library that does what you want. There might be a Symfony2 bundle for this, but if not, make your own with the library you find :-).

    There are several questions here that list PHP approaches to converting Word documents (doc and docx) to PDF. For example, try this one.