Mandatory:
- PHP 5.3+
- XML Parser extension
- Zend\Validator component
Optional:
PHPWord is installed via Composer. You just need to add dependency on PHPWord into your package.
Example:
{
"require": {
"phpoffice/phpword": "v0.13.*"
}
}
If you are a developer or if you want to help us with testing then fetch the latest branch for developers. Notice: all contributions must be done against the developer branch.
Example:
{
"require": {
"phpoffice/phpword": "dev-develop"
}
}
After installation, you can browse and use the samples that we've
provided, either by command line or using browser. If you can access
your PHPWord library folder using browser, point your browser to the
samples
folder, e.g. http://localhost/PhpWord/samples/
.