composer.json 4.1 KB

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