composer.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. "php-cs-fixer fix --ansi --dry-run --diff",
  46. "phpcs",
  47. "phpunit --color=always",
  48. "phpstan analyse --ansi"
  49. ],
  50. "fix": [
  51. "php-cs-fixer fix --ansi"
  52. ],
  53. "versions": [
  54. "phpcs --report-width=200 samples/ src/ tests/ --ignore=samples/Header.php --standard=PHPCompatibility --runtime-set testVersion 7.3- -n"
  55. ]
  56. },
  57. "require": {
  58. "php": "^7.3 || ^8.0",
  59. "ext-ctype": "*",
  60. "ext-dom": "*",
  61. "ext-fileinfo": "*",
  62. "ext-gd": "*",
  63. "ext-iconv": "*",
  64. "ext-libxml": "*",
  65. "ext-mbstring": "*",
  66. "ext-simplexml": "*",
  67. "ext-xml": "*",
  68. "ext-xmlreader": "*",
  69. "ext-xmlwriter": "*",
  70. "ext-zip": "*",
  71. "ext-zlib": "*",
  72. "ezyang/htmlpurifier": "^4.13",
  73. "maennchen/zipstream-php": "^2.1",
  74. "markbaker/complex": "^3.0",
  75. "markbaker/matrix": "^3.0",
  76. "psr/http-client": "^1.0",
  77. "psr/http-factory": "^1.0",
  78. "psr/simple-cache": "^1.0 || ^2.0"
  79. },
  80. "require-dev": {
  81. "dealerdirect/phpcodesniffer-composer-installer": "dev-master",
  82. "dompdf/dompdf": "^1.0 || ^2.0",
  83. "friendsofphp/php-cs-fixer": "^3.2",
  84. "jpgraph/jpgraph": "^4.0",
  85. "mpdf/mpdf": "8.1.1",
  86. "phpcompatibility/php-compatibility": "^9.3",
  87. "phpstan/phpstan": "^1.1",
  88. "phpstan/phpstan-phpunit": "^1.0",
  89. "phpunit/phpunit": "^8.5 || ^9.0",
  90. "squizlabs/php_codesniffer": "^3.7",
  91. "tecnickcom/tcpdf": "^6.4"
  92. },
  93. "suggest": {
  94. "mpdf/mpdf": "Option for rendering PDF with PDF Writer",
  95. "dompdf/dompdf": "Option for rendering PDF with PDF Writer (doesn't yet support PHP8)",
  96. "tecnickcom/tcpdf": "Option for rendering PDF with PDF Writer (doesn't yet support PHP8)",
  97. "jpgraph/jpgraph": "Option for rendering charts, or including charts with PDF or HTML Writers"
  98. },
  99. "autoload": {
  100. "psr-4": {
  101. "PhpOffice\\PhpSpreadsheet\\": "src/PhpSpreadsheet"
  102. }
  103. },
  104. "autoload-dev": {
  105. "psr-4": {
  106. "PhpOffice\\PhpSpreadsheetTests\\": "tests/PhpSpreadsheetTests",
  107. "PhpOffice\\PhpSpreadsheetInfra\\": "infra"
  108. }
  109. }
  110. }