Fork me on GitHub

Requirements

  • PHP version 5.3.0 or higher
  • PHP extension php_zip enabled *
  • PHP extension php_xml enabled
  • PHP extension php_gd2 enabled (if not compiled in)

All part of the PHP package (zip) on http://www.php.net/downloads.php, should be enabled in php.ini

*) php_zip is only needed by PHPWord_Reader_Word2007, PHPWord_Writer_Word2007, PHPWord_Reader_OOText, PHPWord_Writer_OOText.
In other words, if you need PHPWord to handle .docx or .odt files you will need the zip extension, but otherwise not.