'How to covert document file in pdf with same formatting using Laravel [closed]

How to covert document file in pdf with same formatting using Laravel? Currently, I have one template document folder. In document folder have many file this file i am use for user. This file are use as template file like email after that put same for update as user requirement. This this working properly.

I am stored this file as doc format but I want to download in PDF format. Its working fine but PDF download file content not set properly like doc file. I am facing is issue in PHP(Laravel).



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source