Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
phpword-view-template-for-promis2.0
<?php
$phpword_writer_wrapper = new \Promis2\PhpWordWriterWrapper();
// New Word document
$phpWord = new \PhpOffice\PhpWord\PhpWord();
// Do stuff with $phpWord
// ............
// ............
// Save file
$phpword_writer_wrapper->write($phpWord, basename(__FILE__, '.php'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.