From: Coleman Watts Date: Sat, 5 Mar 2016 00:32:24 +0000 (-0500) Subject: CRM-17607 - Add phpoffice/phpword library X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=db7b03812aea5a484b3575444255fdc606ffed6d;p=civicrm-core.git CRM-17607 - Add phpoffice/phpword library --- diff --git a/composer.json b/composer.json index e77c9b4b58..8524baa2f2 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,8 @@ "totten/ca-config": "~13.02", "civicrm/civicrm-cxn-rpc": "~0.15.12.04", "zetacomponents/base": "1.7.*", - "zetacomponents/mail": "dev-1.7-civi" + "zetacomponents/mail": "dev-1.7-civi", + "phpoffice/phpword": "^0.12.1" }, "repositories": [ { diff --git a/composer.lock b/composer.lock index d7cd0835b3..d18d1bf64e 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "6d663f79b264d072ee699147bc572115", - "content-hash": "9d0da097291dbad481650b039869f719", + "hash": "4f2c36b177638f5e22ca05021396c01d", + "content-hash": "0d5b97cd31ec69081403638a7e478f1b", "packages": [ { "name": "civicrm/civicrm-cxn-rpc", @@ -122,6 +122,102 @@ "homepage": "https://github.com/PhenX/php-font-lib", "time": "2014-02-01 15:22:28" }, + { + "name": "phpoffice/phpword", + "version": "v0.12.1", + "source": { + "type": "git", + "url": "https://github.com/PHPOffice/PHPWord.git", + "reference": "38cb04d322007dd522cbdd8ba3cd50ab67ced0db" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPOffice/PHPWord/zipball/38cb04d322007dd522cbdd8ba3cd50ab67ced0db", + "reference": "38cb04d322007dd522cbdd8ba3cd50ab67ced0db", + "shasum": "" + }, + "require": { + "ext-xml": "*", + "php": ">=5.3.3" + }, + "require-dev": { + "dompdf/dompdf": "0.6.*", + "mpdf/mpdf": "5.*", + "phpdocumentor/phpdocumentor": "2.*", + "phploc/phploc": "2.*", + "phpmd/phpmd": "2.*", + "phpunit/phpunit": "3.7.*", + "sebastian/phpcpd": "2.*", + "squizlabs/php_codesniffer": "1.*", + "tecnick.com/tcpdf": "6.*" + }, + "suggest": { + "dompdf/dompdf": "Used to write PDF", + "ext-gd2": "Used to add images", + "ext-xmlwriter": "Used to write DOCX and ODT", + "ext-xsl": "Used to apply XSL style sheet to main document part of OOXML template", + "ext-zip": "Used to write DOCX and ODT" + }, + "type": "library", + "autoload": { + "psr-4": { + "PhpOffice\\PhpWord\\": "src/PhpWord" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0" + ], + "authors": [ + { + "name": "Mark Baker" + }, + { + "name": "Franck Lefevre", + "homepage": "http://blog.rootslabs.net" + }, + { + "name": "Gabriel Bull", + "email": "me@gabrielbull.com", + "homepage": "http://gabrielbull.com/" + }, + { + "name": "Ivan Lanin", + "homepage": "http://ivan.lanin.org" + }, + { + "name": "Roman Syroeshko", + "homepage": "http://ru.linkedin.com/pub/roman-syroeshko/34/a53/994/" + } + ], + "description": "PHPWord - A pure PHP library for reading and writing word processing documents (DOCX, ODT, RTF, HTML, PDF)", + "homepage": "http://phpoffice.github.io", + "keywords": [ + "ISO IEC 29500", + "OOXML", + "Office Open XML", + "OpenDocument", + "OpenXML", + "PhpOffice", + "PhpWord", + "Rich Text Format", + "WordprocessingML", + "doc", + "docx", + "html", + "odt", + "office", + "pdf", + "php", + "reader", + "rtf", + "template", + "template processor", + "word", + "writer" + ], + "time": "2015-08-30 14:30:44" + }, { "name": "phpseclib/phpseclib", "version": "0.3.10",