PHPackages                             tyz910/docx-templates - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. tyz910/docx-templates

ActiveLibrary[Templating &amp; Views](/categories/templating)

tyz910/docx-templates
=====================

Simple template engine for .docx

0.9.1(11y ago)2036.2k↓25%6[5 issues](https://github.com/tyz910/docx-templates/issues)PHPPHP &gt;=5.4

Since Jun 29Pushed 11y ago2 watchersCompare

[ Source](https://github.com/tyz910/docx-templates)[ Packagist](https://packagist.org/packages/tyz910/docx-templates)[ RSS](/packages/tyz910-docx-templates/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

docX-templates
==============

[](#docx-templates)

[![Latest Stable Version](https://camo.githubusercontent.com/7c2bfe53bfeadd638c968bb068c01b758362970b2850ce40982cb91f9d97e5ac/68747470733a2f2f706f7365722e707567782e6f72672f74797a3931302f646f63782d74656d706c617465732f762f737461626c652e706e67)](https://packagist.org/packages/tyz910/docx-templates)[![Build Status](https://camo.githubusercontent.com/dc5e7b8a5874efa19a330ed3b55c6387a2404314e28e6d16dd169a2447227561/68747470733a2f2f7472617669732d63692e6f72672f74797a3931302f646f63782d74656d706c617465732e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/tyz910/docx-templates)[![Coverage Status](https://camo.githubusercontent.com/55b226783c7dd74610d8ec926be4fc7a186d7c9fb4398029d3173a9ef886e119/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f74797a3931302f646f63782d74656d706c617465732f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/tyz910/docx-templates?branch=master)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/5c9936652615a8aafecd2b664cc839ed151e6b35b71bca98848a91e74fa43323/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74797a3931302f646f63782d74656d706c617465732f6261646765732f7175616c6974792d73636f72652e706e673f733d39343639383732386435616238323934346438313862303033636461666238313232633465363237)](https://scrutinizer-ci.com/g/tyz910/docx-templates/)

You can create a .docx template file with included search-patterns that can be replaced by any value you wish:

```
