composer.json 4.5 KB

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