2013-12-11 14:39:43 -05:00
|
|
|
{
|
|
|
|
|
"name": "phpoffice/phpword",
|
2016-06-28 21:37:36 +04:00
|
|
|
"description": "PHPWord - A pure PHP library for reading and writing word processing documents (OOXML, ODF, RTF, HTML, PDF)",
|
2014-03-20 16:54:12 +04:00
|
|
|
"keywords": [
|
2016-06-28 21:37:36 +04:00
|
|
|
"PHP", "PHPOffice", "office", "PHPWord", "word", "template", "template processor", "reader", "writer",
|
2014-03-23 16:59:28 +01:00
|
|
|
"docx", "OOXML", "OpenXML", "Office Open XML", "ISO IEC 29500", "WordprocessingML",
|
2016-06-28 21:37:36 +04:00
|
|
|
"RTF", "Rich Text Format", "doc", "odt", "ODF", "OpenDocument", "PDF", "HTML"
|
2014-03-20 16:54:12 +04:00
|
|
|
],
|
2022-01-04 14:02:52 +01:00
|
|
|
"homepage": "https://phpword.readthedocs.io/",
|
2013-12-11 14:39:43 -05:00
|
|
|
"type": "library",
|
2014-05-05 10:37:34 +04:00
|
|
|
"license": "LGPL-3.0",
|
2013-12-11 14:39:43 -05:00
|
|
|
"authors": [
|
2013-12-13 11:36:36 +01:00
|
|
|
{
|
|
|
|
|
"name": "Mark Baker"
|
|
|
|
|
},
|
2013-12-11 14:39:43 -05:00
|
|
|
{
|
|
|
|
|
"name": "Gabriel Bull",
|
2014-03-02 12:42:58 -05:00
|
|
|
"email": "me@gabrielbull.com",
|
|
|
|
|
"homepage": "http://gabrielbull.com/"
|
2013-12-13 11:38:22 +01:00
|
|
|
},
|
2013-12-13 11:36:36 +01:00
|
|
|
{
|
|
|
|
|
"name": "Franck Lefevre",
|
2017-09-13 22:10:04 +02:00
|
|
|
"homepage": "https://rootslabs.net/blog/"
|
2014-03-23 17:37:26 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "Ivan Lanin",
|
|
|
|
|
"homepage": "http://ivan.lanin.org"
|
2014-03-30 05:27:25 -07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "Roman Syroeshko",
|
|
|
|
|
"homepage": "http://ru.linkedin.com/pub/roman-syroeshko/34/a53/994/"
|
2017-10-23 23:05:29 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "Antoine de Troostembergh"
|
2013-12-11 14:39:43 -05:00
|
|
|
}
|
|
|
|
|
],
|
2017-12-18 17:02:34 +01:00
|
|
|
"scripts": {
|
2017-12-29 14:36:56 +01:00
|
|
|
"test": [
|
2018-03-07 20:04:19 +01:00
|
|
|
"phpunit --color=always"
|
2017-12-29 14:36:56 +01:00
|
|
|
],
|
|
|
|
|
"test-no-coverage": [
|
2018-03-07 20:04:19 +01:00
|
|
|
"phpunit --color=always --no-coverage"
|
2017-12-29 14:36:56 +01:00
|
|
|
],
|
2017-12-18 17:02:34 +01:00
|
|
|
"check": [
|
2018-03-07 20:04:19 +01:00
|
|
|
"php-cs-fixer fix --ansi --dry-run --diff",
|
2021-04-15 21:44:37 +02:00
|
|
|
"phpcs --report-width=200 --report-summary --report-full samples/ src/ tests/ --ignore=src/PhpWord/Shared/PCLZip --standard=PSR2 -n",
|
2018-03-07 20:04:19 +01:00
|
|
|
"phpmd src/,tests/ text ./phpmd.xml.dist --exclude pclzip.lib.php",
|
2018-12-09 01:21:59 +03:00
|
|
|
"@test-no-coverage"
|
2017-12-18 17:02:34 +01:00
|
|
|
],
|
|
|
|
|
"fix": [
|
2018-03-07 20:04:19 +01:00
|
|
|
"php-cs-fixer fix --ansi"
|
2017-12-18 17:02:34 +01:00
|
|
|
]
|
|
|
|
|
},
|
2017-12-29 14:36:56 +01:00
|
|
|
"scripts-descriptions": {
|
|
|
|
|
"test": "Runs all unit tests",
|
|
|
|
|
"test-no-coverage": "Runs all unit tests, without code coverage",
|
|
|
|
|
"check": "Runs PHP CheckStyle and PHP Mess detector",
|
|
|
|
|
"fix": "Fixes issues found by PHP-CS"
|
|
|
|
|
},
|
2013-12-11 14:39:43 -05:00
|
|
|
"require": {
|
2022-09-25 21:43:00 +02:00
|
|
|
"php": "^7.1|^8.0",
|
2022-09-16 11:27:29 +02:00
|
|
|
"ext-dom": "*",
|
|
|
|
|
"ext-json": "*",
|
2015-11-14 15:31:50 +04:00
|
|
|
"ext-xml": "*",
|
2022-09-25 21:43:00 +02:00
|
|
|
"laminas/laminas-escaper": ">=2.6"
|
2013-12-11 14:39:43 -05:00
|
|
|
},
|
2014-02-12 11:21:04 -05:00
|
|
|
"require-dev": {
|
2018-07-13 23:12:34 +01:00
|
|
|
"ext-zip": "*",
|
|
|
|
|
"ext-gd": "*",
|
2022-09-16 14:09:17 +02:00
|
|
|
"ext-libxml": "*",
|
2022-09-16 11:27:29 +02:00
|
|
|
"dompdf/dompdf": "^2.0",
|
|
|
|
|
"mpdf/mpdf": "^8.1",
|
|
|
|
|
"phpmd/phpmd": "^2.13",
|
2022-09-25 21:43:00 +02:00
|
|
|
"phpunit/phpunit": ">=7.0",
|
2022-09-16 14:11:55 +02:00
|
|
|
"tecnickcom/tcpdf": "^6.5",
|
2022-11-29 10:47:35 +01:00
|
|
|
"symfony/process": "^4.4",
|
|
|
|
|
"friendsofphp/php-cs-fixer": "^3.3"
|
2014-02-12 11:21:04 -05:00
|
|
|
},
|
2014-03-13 08:18:48 -06:00
|
|
|
"suggest": {
|
2016-06-28 21:37:36 +04:00
|
|
|
"ext-zip": "Allows writing OOXML and ODF",
|
2015-11-14 15:31:50 +04:00
|
|
|
"ext-gd2": "Allows adding images",
|
2016-06-28 21:37:36 +04:00
|
|
|
"ext-xmlwriter": "Allows writing OOXML and ODF",
|
2016-07-30 16:02:23 +04:00
|
|
|
"ext-xsl": "Allows applying XSL style sheet to headers, to main document part, and to footers of an OOXML template",
|
2015-11-14 15:31:50 +04:00
|
|
|
"dompdf/dompdf": "Allows writing PDF"
|
2014-03-13 08:18:48 -06:00
|
|
|
},
|
2013-12-11 14:39:43 -05:00
|
|
|
"autoload": {
|
2014-03-22 10:06:08 +04:00
|
|
|
"psr-4": {
|
2014-03-27 10:04:34 +03:00
|
|
|
"PhpOffice\\PhpWord\\": "src/PhpWord"
|
2013-12-11 14:39:43 -05:00
|
|
|
}
|
2017-12-29 03:01:36 +01:00
|
|
|
},
|
2022-09-16 14:09:17 +02:00
|
|
|
"autoload-dev": {
|
|
|
|
|
"psr-4": {
|
|
|
|
|
"PhpOffice\\PhpWordTests\\": "tests/PhpWordTests"
|
|
|
|
|
}
|
2013-12-11 14:39:43 -05:00
|
|
|
}
|
2014-03-27 10:04:34 +03:00
|
|
|
}
|