{
Primer ver como
Añadir variables en un documento word
https://doc.viafirma.com/documents/formsguide/latest/es/forms-add-variables-to-word.htmldespues tendria que editar esas variables por phpComo? comparto enlace:How to edit word documents with php?
https://stackoverflow.com/questions/34975256/how-to-edit-word-documents-with-php}INCLUDEPICTURE Word field
$templateProcessor = new \PhpOffice\PhpWord\TemplateProcessor("incident.docx");Si quiere editar imagenes usar,$templateProcessor->setValue('nombre', $name);$templateProcessor->setValue('comunicado', $comunicado);$templateProcessor->saveAs($filename);header("Location: incident.docx");