composer.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. {
  2. "name": "getgrav/grav",
  3. "type": "project",
  4. "description": "Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS",
  5. "keywords": [
  6. "cms",
  7. "flat-file cms",
  8. "flat cms",
  9. "flatfile cms",
  10. "php"
  11. ],
  12. "homepage": "https://getgrav.org",
  13. "license": "MIT",
  14. "require": {
  15. "php": "^7.3.6 || ^8.0",
  16. "ext-json": "*",
  17. "ext-openssl": "*",
  18. "ext-curl": "*",
  19. "ext-zip": "*",
  20. "ext-dom": "*",
  21. "ext-libxml": "*",
  22. "ext-gd": "*",
  23. "symfony/polyfill-mbstring": "~1.23",
  24. "symfony/polyfill-iconv": "^1.23",
  25. "symfony/polyfill-php74": "^1.23",
  26. "symfony/polyfill-php80": "^1.23",
  27. "symfony/polyfill-php81": "^1.23",
  28. "psr/simple-cache": "^1.0",
  29. "psr/http-message": "^1.0",
  30. "psr/http-server-middleware": "^1.0",
  31. "psr/container": "~1.1.0",
  32. "nyholm/psr7-server": "^1.0",
  33. "nyholm/psr7": "^1.3",
  34. "twig/twig": "~v1.44",
  35. "erusev/parsedown": "^1.7",
  36. "erusev/parsedown-extra": "~0.8",
  37. "symfony/contracts": "~1.1",
  38. "symfony/yaml": "~4.4",
  39. "symfony/console": "~4.4",
  40. "symfony/event-dispatcher": "~4.4",
  41. "symfony/var-dumper": "~4.4",
  42. "symfony/process": "~4.4",
  43. "doctrine/cache": "^1.10",
  44. "doctrine/collections": "^1.6",
  45. "guzzlehttp/psr7": "^1.7",
  46. "filp/whoops": "~2.9",
  47. "matthiasmullie/minify": "^1.3",
  48. "monolog/monolog": "~1.25",
  49. "getgrav/image": "^3.0",
  50. "getgrav/cache": "^2.0",
  51. "donatj/phpuseragentparser": "~1.1",
  52. "pimple/pimple": "~3.5.0",
  53. "rockettheme/toolbox": "~1.5",
  54. "maximebf/debugbar": "~1.16",
  55. "league/climate": "^3.6",
  56. "miljar/php-exif": "^0.6",
  57. "composer/ca-bundle": "^1.2",
  58. "dragonmantank/cron-expression": "^1.2",
  59. "willdurand/negotiation": "^3.0",
  60. "itsgoingd/clockwork": "^5.0",
  61. "symfony/http-client": "^4.4",
  62. "composer/semver": "^1.4",
  63. "rhukster/dom-sanitizer": "^1.0",
  64. "multiavatar/multiavatar-php": "^1.0"
  65. },
  66. "require-dev": {
  67. "codeception/codeception": "^4.1",
  68. "phpstan/phpstan": "^1.8",
  69. "phpstan/phpstan-deprecation-rules": "^1.0",
  70. "phpunit/php-code-coverage": "~9.2",
  71. "getgrav/markdowndocs": "^2.0",
  72. "codeception/module-asserts": "^1.3",
  73. "codeception/module-phpbrowser": "^1.0",
  74. "symfony/service-contracts": "*"
  75. },
  76. "replace": {
  77. "symfony/polyfill-php72": "*",
  78. "symfony/polyfill-php73": "*"
  79. },
  80. "suggest": {
  81. "ext-mbstring": "Recommended for better performance",
  82. "ext-iconv": "Recommended for better performance",
  83. "ext-zend-opcache": "Recommended for better performance",
  84. "ext-intl": "Recommended for multi-language sites",
  85. "ext-memcache": "Needed to support Memcache servers",
  86. "ext-memcached": "Needed to support Memcached servers",
  87. "ext-redis": "Needed to support Redis servers",
  88. "ext-exif": "Needed to use exif data from images."
  89. },
  90. "config": {
  91. "apcu-autoloader": true,
  92. "platform": {
  93. "php": "7.3.6"
  94. }
  95. },
  96. "autoload": {
  97. "psr-4": {
  98. "Grav\\": "system/src/Grav",
  99. "Twig\\": "system/src/Twig"
  100. },
  101. "files": [
  102. "system/defines.php",
  103. "system/src/DOMLettersIterator.php",
  104. "system/src/DOMWordsIterator.php"
  105. ]
  106. },
  107. "autoload-dev": {
  108. "psr-4": {
  109. "PHPStan\\": "tests/phpstan/classes"
  110. }
  111. },
  112. "archive": {
  113. "exclude": [
  114. "VERSION"
  115. ]
  116. },
  117. "scripts": {
  118. "api-17": "vendor/bin/phpdoc-md generate system/src > user/pages/14.api/default.17.md",
  119. "post-create-project-cmd": "bin/grav install",
  120. "phpstan": "vendor/bin/phpstan analyse -l 2 -c ./tests/phpstan/phpstan.neon --memory-limit=720M system/src",
  121. "phpstan-framework": "vendor/bin/phpstan analyse -l 5 -c ./tests/phpstan/phpstan.neon --memory-limit=480M system/src/Grav/Framework system/src/Grav/Events system/src/Grav/Installer",
  122. "phpstan-plugins": "vendor/bin/phpstan analyse -l 1 -c ./tests/phpstan/plugins.neon --memory-limit=400M user/plugins",
  123. "test": "vendor/bin/codecept run unit",
  124. "test-windows": "vendor\\bin\\codecept run unit"
  125. },
  126. "extra": {
  127. "branch-alias": {
  128. "dev-develop": "1.x-dev"
  129. }
  130. }
  131. }