composer.json 4.4 KB

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