A pure PHP library for reading and writing word processing documents
Go to file
SergeC 9d6b2ff7bd Update src/PHPWord/Template.php
This function returns array of all variables in template.
Test code:
$PHPWord = new PHPWord();
$document = $PHPWord->loadTemplate('Template.docx');
var_dump($document->getVariables());
2012-08-11 23:02:57 +03:00
samples IMPROVED : Samples\Sample01 2012-05-30 00:06:11 +02:00
src Update src/PHPWord/Template.php 2012-08-11 23:02:57 +03:00
.gitignore CHANGED : .gitignore 2012-05-30 00:05:31 +02:00
README.md Added readme and license file 2012-07-05 07:25:13 +02:00
license.md Added readme and license file 2012-07-05 07:25:13 +02:00

README.md

PHPWord - OpenXML - Read, Write and Create Word documents in PHP

PHPWord is a library written in PHP that create word documents. No Windows operating system is needed for usage because the result are docx files (Office Open XML) that can be opened by all major office software.

Want to contribute?

Fork us!

License

PHPWord is licensed under LGPL (GNU LESSER GENERAL PUBLIC LICENSE)