composer.json 3.7 KB

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