PHP Classes

PHP DOCX Template: Create Microsoft Word documents from templates

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 1,892 All time: 2,086 This week: 46Up
Version License PHP version Categories
docx-template 0.1.10MIT/X Consortium ...5.0XML, PHP 5, Files and Folders
Description 

Author

This class can create Microsoft Word documents from templates.

It can open a DocX archive file and extract the XML document to be used as template.

The class can search for document values with marks within curly braces and replace them with given template parameter values.

Then it rebuilds the DocX archive and save it to a given file name or serve it for download.

Picture of Sergey Shuchkin
  Performance   Level  
Name: Sergey Shuchkin <contact>
Classes: 4 packages by
Country: Russian Federation Russian Federation
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (1)  
File Role Description
Plain text file docxtemplate.class.php Class class to replace {var} in docx

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,892
This week:0
All time:2,086
This week:46Up
User Ratings User Comments (5)
 All time
Utility:87%StarStarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2457
 
excellent tool.
7 years ago (M. Moura)
60%StarStarStarStar
Thanks a lot @Sergey.
10 years ago (Bijoy Kar)
60%StarStarStarStar
good frd
11 years ago (shyam6511)
47%StarStarStar
good
11 years ago (Rahul Shambharkar)
60%StarStarStarStar
Bravo, Vous avez fait un excellent travail.
11 years ago (cheikh mara)
60%StarStarStarStar