composer.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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. "scripts": {
  48. "check": [
  49. "php bin/check-phpdoc-types.php",
  50. "phpcs samples/ src/ tests/ --report=checkstyle",
  51. "phpcs samples/ src/ tests/ --standard=PHPCompatibility --runtime-set testVersion 8.0- --exclude=PHPCompatibility.Variables.ForbiddenThisUseContexts -n",
  52. "php-cs-fixer fix --ansi --dry-run --diff",
  53. "phpstan analyse --ansi --memory-limit=2048M",
  54. "phpunit --color=always"
  55. ],
  56. "style": [
  57. "phpcs samples/ src/ tests/ --report=checkstyle",
  58. "php-cs-fixer fix --ansi --dry-run --diff"
  59. ],
  60. "fix": [
  61. "phpcbf samples/ src/ tests/ --report=checkstyle",
  62. "php-cs-fixer fix"
  63. ],
  64. "versions": [
  65. "phpcs samples/ src/ tests/ --standard=PHPCompatibility --runtime-set testVersion 8.0- --exclude=PHPCompatibility.Variables.ForbiddenThisUseContexts -n"
  66. ]
  67. },
  68. "require": {
  69. "php": "^8.1",
  70. "ext-ctype": "*",
  71. "ext-dom": "*",
  72. "ext-fileinfo": "*",
  73. "ext-gd": "*",
  74. "ext-iconv": "*",
  75. "ext-libxml": "*",
  76. "ext-mbstring": "*",
  77. "ext-simplexml": "*",
  78. "ext-xml": "*",
  79. "ext-xmlreader": "*",
  80. "ext-xmlwriter": "*",
  81. "ext-zip": "*",
  82. "ext-zlib": "*",
  83. "composer/pcre": "^1||^2||^3",
  84. "maennchen/zipstream-php": "^2.1 || ^3.0",
  85. "markbaker/complex": "^3.0",
  86. "markbaker/matrix": "^3.0",
  87. "psr/http-client": "^1.0",
  88. "psr/http-factory": "^1.0",
  89. "psr/simple-cache": "^1.0 || ^2.0 || ^3.0"
  90. },
  91. "require-dev": {
  92. "dealerdirect/phpcodesniffer-composer-installer": "dev-main",
  93. "dompdf/dompdf": "^2.0 || ^3.0",
  94. "friendsofphp/php-cs-fixer": "^3.2",
  95. "mitoteam/jpgraph": "^10.5",
  96. "mpdf/mpdf": "^8.1.1",
  97. "phpcompatibility/php-compatibility": "^9.3",
  98. "phpstan/phpstan": "^1.1 || ^2.0",
  99. "phpstan/phpstan-deprecation-rules": "^1.0 || ^2.0",
  100. "phpstan/phpstan-phpunit": "^1.0 || ^2.0",
  101. "phpunit/phpunit": "^10.5",
  102. "squizlabs/php_codesniffer": "^3.7",
  103. "tecnickcom/tcpdf": "^6.5"
  104. },
  105. "suggest": {
  106. "ext-intl": "PHP Internationalization Functions, regquired for NumberFormat Wizard",
  107. "mpdf/mpdf": "Option for rendering PDF with PDF Writer",
  108. "dompdf/dompdf": "Option for rendering PDF with PDF Writer",
  109. "tecnickcom/tcpdf": "Option for rendering PDF with PDF Writer",
  110. "mitoteam/jpgraph": "Option for rendering charts, or including charts with PDF or HTML Writers"
  111. },
  112. "autoload": {
  113. "psr-4": {
  114. "PhpOffice\\PhpSpreadsheet\\": "src/PhpSpreadsheet"
  115. }
  116. },
  117. "autoload-dev": {
  118. "psr-4": {
  119. "PhpOffice\\PhpSpreadsheetTests\\": "tests/PhpSpreadsheetTests",
  120. "PhpOffice\\PhpSpreadsheetInfra\\": "infra"
  121. }
  122. }
  123. }