Skip to content

Create documents using templates and Microsoft® Word

Notifications You must be signed in to change notification settings

inquid/yii-microsoft-word

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yii Microsoft Word Template

Create documents using templates and Microsoft® Word

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist inquid/yii-microsoft-word "*"

or add

"inquid/yii-microsoft-word": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

    $executer = new \inquid\word\TemplateExecuter();
    $template = $executer->execute([['name' , 'Luis Armando González'], ['email' , 'contact@inquid.co']]);
    $executer->saveDocument($template, 'Default.docx');

About

Create documents using templates and Microsoft® Word

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages