inquid/yii-microsoft-word

Create documents using templates and Microsoft® Word

Installs: 52

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2019-02-14 05:58 UTC

This package is auto-updated.

Last update: 2024-03-29 03:01:45 UTC


README

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');