composer.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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.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.0.0",
  31. "nyholm/psr7-server": "^1.0",
  32. "nyholm/psr7": "^1.3",
  33. "twig/twig": "~1.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.3.0",
  52. "rockettheme/toolbox": "~1.5",
  53. "maximebf/debugbar": "~1.16",
  54. "league/climate": "^3.6",
  55. "antoligy/dom-string-iterators": "^1.0",
  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. },
  65. "require-dev": {
  66. "codeception/codeception": "^4.1",
  67. "phpstan/phpstan": "^1.0",
  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. },
  88. "config": {
  89. "apcu-autoloader": true,
  90. "platform": {
  91. "php": "7.3.6"
  92. }
  93. },
  94. "autoload": {
  95. "psr-4": {
  96. "Grav\\": "system/src/Grav",
  97. "Twig\\": "system/src/Twig"
  98. },
  99. "files": [
  100. "system/defines.php"
  101. ]
  102. },
  103. "archive": {
  104. "exclude": [
  105. "VERSION"
  106. ]
  107. },
  108. "scripts": {
  109. "api-17": "vendor/bin/phpdoc-md generate system/src > user/pages/14.api/default.17.md",
  110. "post-create-project-cmd": "bin/grav install",
  111. "phpstan": "vendor/bin/phpstan analyse -l 1 -c ./tests/phpstan/phpstan.neon --memory-limit=520M system/src",
  112. "phpstan-framework": "vendor/bin/phpstan analyse -l 3 -c ./tests/phpstan/phpstan.neon --memory-limit=480M system/src/Grav/Framework system/src/Grav/Events system/src/Grav/Installer",
  113. "phpstan-plugins": "vendor/bin/phpstan analyse -l 1 -c ./tests/phpstan/plugins.neon --memory-limit=400M user/plugins",
  114. "test": "vendor/bin/codecept run unit",
  115. "test-windows": "vendor\\bin\\codecept run unit"
  116. },
  117. "extra": {
  118. "branch-alias": {
  119. "dev-develop": "1.x-dev"
  120. }
  121. }
  122. }