composer.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. "name": "phpoffice/phpword",
  3. "description": "PHPWord - A pure PHP library for reading and writing word processing documents (OOXML, ODF, RTF, HTML, PDF)",
  4. "keywords": [
  5. "PHP", "PHPOffice", "office", "PHPWord", "word", "template", "template processor", "reader", "writer",
  6. "docx", "OOXML", "OpenXML", "Office Open XML", "ISO IEC 29500", "WordprocessingML",
  7. "RTF", "Rich Text Format", "doc", "odt", "ODF", "OpenDocument", "PDF", "HTML"
  8. ],
  9. "homepage": "http://phpoffice.github.io",
  10. "type": "library",
  11. "license": "LGPL-3.0",
  12. "authors": [
  13. {
  14. "name": "Mark Baker"
  15. },
  16. {
  17. "name": "Gabriel Bull",
  18. "email": "me@gabrielbull.com",
  19. "homepage": "http://gabrielbull.com/"
  20. },
  21. {
  22. "name": "Franck Lefevre",
  23. "homepage": "https://rootslabs.net/blog/"
  24. },
  25. {
  26. "name": "Ivan Lanin",
  27. "homepage": "http://ivan.lanin.org"
  28. },
  29. {
  30. "name": "Roman Syroeshko",
  31. "homepage": "http://ru.linkedin.com/pub/roman-syroeshko/34/a53/994/"
  32. },
  33. {
  34. "name": "Antoine de Troostembergh"
  35. }
  36. ],
  37. "scripts": {
  38. "test": [
  39. "phpunit --color=always"
  40. ],
  41. "test-no-coverage": [
  42. "phpunit --color=always --no-coverage"
  43. ],
  44. "check": [
  45. "php-cs-fixer fix --ansi --dry-run --diff",
  46. "phpcs --report-width=200 --report-summary --report-full samples/ src/ tests/ --ignore=src/PhpWord/Shared/PCLZip --standard=PSR2 -n",
  47. "phpmd src/,tests/ text ./phpmd.xml.dist --exclude pclzip.lib.php",
  48. "@test-no-coverage"
  49. ],
  50. "fix": [
  51. "php-cs-fixer fix --ansi"
  52. ]
  53. },
  54. "scripts-descriptions": {
  55. "test": "Runs all unit tests",
  56. "test-no-coverage": "Runs all unit tests, without code coverage",
  57. "check": "Runs PHP CheckStyle and PHP Mess detector",
  58. "fix": "Fixes issues found by PHP-CS"
  59. },
  60. "require": {
  61. "php": "^5.3.3 || ^7.0",
  62. "ext-xml": "*",
  63. "zendframework/zend-escaper": "^2.2",
  64. "phpoffice/common": "^0.2.9"
  65. },
  66. "require-dev": {
  67. "ext-zip": "*",
  68. "ext-gd": "*",
  69. "phpunit/phpunit": "^4.8.36 || ^7.0",
  70. "squizlabs/php_codesniffer": "^2.9",
  71. "friendsofphp/php-cs-fixer": "^2.2",
  72. "phpmd/phpmd": "2.*",
  73. "phploc/phploc": "2.* || 3.* || 4.*",
  74. "dompdf/dompdf":"0.8.*",
  75. "tecnickcom/tcpdf": "6.*",
  76. "mpdf/mpdf": "5.7.4 || 6.* || 7.*",
  77. "php-coveralls/php-coveralls": "1.1.0 || ^2.0"
  78. },
  79. "suggest": {
  80. "ext-zip": "Allows writing OOXML and ODF",
  81. "ext-gd2": "Allows adding images",
  82. "ext-xmlwriter": "Allows writing OOXML and ODF",
  83. "ext-xsl": "Allows applying XSL style sheet to headers, to main document part, and to footers of an OOXML template",
  84. "dompdf/dompdf": "Allows writing PDF"
  85. },
  86. "autoload": {
  87. "psr-4": {
  88. "PhpOffice\\PhpWord\\": "src/PhpWord"
  89. }
  90. },
  91. "extra": {
  92. "branch-alias": {
  93. "dev-develop": "0.18-dev"
  94. }
  95. }
  96. }