composer.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "name": "phpoffice/phpspreadsheet",
  3. "description": "PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine",
  4. "keywords": [
  5. "PHP",
  6. "OpenXML",
  7. "Excel",
  8. "xlsx",
  9. "xls",
  10. "ods",
  11. "gnumeric",
  12. "spreadsheet"
  13. ],
  14. "config": {
  15. "sort-packages": true,
  16. "allow-plugins": {
  17. "dealerdirect/phpcodesniffer-composer-installer": true
  18. }
  19. },
  20. "homepage": "https://github.com/PHPOffice/PhpSpreadsheet",
  21. "type": "library",
  22. "license": "MIT",
  23. "authors": [
  24. {
  25. "name": "Maarten Balliauw",
  26. "homepage": "https://blog.maartenballiauw.be"
  27. },
  28. {
  29. "name": "Mark Baker",
  30. "homepage": "https://markbakeruk.net"
  31. },
  32. {
  33. "name": "Franck Lefevre",
  34. "homepage": "https://rootslabs.net"
  35. },
  36. {
  37. "name": "Erik Tilt"
  38. },
  39. {
  40. "name": "Adrien Crivelli"
  41. }
  42. ],
  43. "scripts": {
  44. "check": [
  45. "phpcs src/ tests/ --report=checkstyle",
  46. "phpcs --report-width=200 samples/ src/ tests/ --ignore=samples/Header.php --standard=PHPCompatibility --runtime-set testVersion 7.4- -n",
  47. "php-cs-fixer fix --ansi --dry-run --diff",
  48. "phpunit --color=always",
  49. "phpstan analyse --ansi --memory-limit=2048M"
  50. ],
  51. "style": [
  52. "phpcs src/ tests/ --report=checkstyle",
  53. "php-cs-fixer fix --ansi --dry-run --diff"
  54. ],
  55. "fix": [
  56. "phpcbf src/ tests/ --report=checkstyle",
  57. "php-cs-fixer fix"
  58. ],
  59. "versions": [
  60. "phpcs --report-width=200 samples/ src/ tests/ --ignore=samples/Header.php --standard=PHPCompatibility --runtime-set testVersion 7.4- -n"
  61. ]
  62. },
  63. "require": {
  64. "php": "^7.4 || ^8.0",
  65. "ext-ctype": "*",
  66. "ext-dom": "*",
  67. "ext-fileinfo": "*",
  68. "ext-gd": "*",
  69. "ext-iconv": "*",
  70. "ext-libxml": "*",
  71. "ext-mbstring": "*",
  72. "ext-simplexml": "*",
  73. "ext-xml": "*",
  74. "ext-xmlreader": "*",
  75. "ext-xmlwriter": "*",
  76. "ext-zip": "*",
  77. "ext-zlib": "*",
  78. "ezyang/htmlpurifier": "^4.15",
  79. "maennchen/zipstream-php": "^2.1 || ^3.0",
  80. "markbaker/complex": "^3.0",
  81. "markbaker/matrix": "^3.0",
  82. "psr/http-client": "^1.0",
  83. "psr/http-factory": "^1.0",
  84. "psr/simple-cache": "^1.0 || ^2.0 || ^3.0"
  85. },
  86. "require-dev": {
  87. "dealerdirect/phpcodesniffer-composer-installer": "dev-main",
  88. "dompdf/dompdf": "^1.0 || ^2.0",
  89. "friendsofphp/php-cs-fixer": "^3.2",
  90. "mitoteam/jpgraph": "^10.3",
  91. "mpdf/mpdf": "^8.1.1",
  92. "phpcompatibility/php-compatibility": "^9.3",
  93. "phpstan/phpstan": "^1.1",
  94. "phpstan/phpstan-phpunit": "^1.0",
  95. "phpunit/phpunit": "^8.5 || ^9.0 || ^10.0",
  96. "squizlabs/php_codesniffer": "^3.7",
  97. "tecnickcom/tcpdf": "^6.5"
  98. },
  99. "suggest": {
  100. "ext-intl": "PHP Internationalization Functions",
  101. "mpdf/mpdf": "Option for rendering PDF with PDF Writer",
  102. "dompdf/dompdf": "Option for rendering PDF with PDF Writer",
  103. "tecnickcom/tcpdf": "Option for rendering PDF with PDF Writer",
  104. "mitoteam/jpgraph": "Option for rendering charts, or including charts with PDF or HTML Writers"
  105. },
  106. "autoload": {
  107. "psr-4": {
  108. "PhpOffice\\PhpSpreadsheet\\": "src/PhpSpreadsheet"
  109. }
  110. },
  111. "autoload-dev": {
  112. "psr-4": {
  113. "PhpOffice\\PhpSpreadsheetTests\\": "tests/PhpSpreadsheetTests",
  114. "PhpOffice\\PhpSpreadsheetInfra\\": "infra"
  115. }
  116. }
  117. }