composer.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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. "psr/container": "~1.0.0",
  30. "nyholm/psr7-server": "^1.0",
  31. "nyholm/psr7": "^1.3",
  32. "twig/twig": "~1.44",
  33. "erusev/parsedown": "^1.7",
  34. "erusev/parsedown-extra": "~0.8",
  35. "symfony/contracts": "~1.1",
  36. "symfony/yaml": "~4.4",
  37. "symfony/console": "~4.4",
  38. "symfony/event-dispatcher": "~4.4",
  39. "symfony/var-dumper": "~4.4",
  40. "symfony/process": "~4.4",
  41. "doctrine/cache": "^1.10",
  42. "doctrine/collections": "^1.6",
  43. "guzzlehttp/psr7": "^1.7",
  44. "filp/whoops": "~2.9",
  45. "matthiasmullie/minify": "^1.3",
  46. "monolog/monolog": "~1.25",
  47. "getgrav/image": "^3.0",
  48. "getgrav/cache": "^2.0",
  49. "donatj/phpuseragentparser": "~1.1",
  50. "pimple/pimple": "~3.3.0",
  51. "rockettheme/toolbox": "~1.5",
  52. "maximebf/debugbar": "~1.16",
  53. "league/climate": "^3.6",
  54. "antoligy/dom-string-iterators": "^1.0",
  55. "miljar/php-exif": "^0.6",
  56. "composer/ca-bundle": "^1.2",
  57. "dragonmantank/cron-expression": "^1.2",
  58. "phive/twig-extensions-deferred": "^1.0",
  59. "willdurand/negotiation": "^3.0",
  60. "itsgoingd/clockwork": "^5.0",
  61. "enshrined/svg-sanitize": "~0.13",
  62. "symfony/http-client": "^4.4",
  63. "composer/semver": "^1.4"
  64. },
  65. "require-dev": {
  66. "codeception/codeception": "^4.1",
  67. "phpstan/phpstan": "^0.12",
  68. "phpstan/phpstan-deprecation-rules": "^0.12",
  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. },
  98. "files": [
  99. "system/defines.php"
  100. ]
  101. },
  102. "archive": {
  103. "exclude": [
  104. "VERSION"
  105. ]
  106. },
  107. "scripts": {
  108. "api-17": "vendor/bin/phpdoc-md generate system/src > user/pages/14.api/default.17.md",
  109. "post-create-project-cmd": "bin/grav install",
  110. "phpstan": "vendor/bin/phpstan analyse -l 1 -c ./tests/phpstan/phpstan.neon --memory-limit=480M system/src",
  111. "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",
  112. "phpstan-plugins": "vendor/bin/phpstan analyse -l 1 -c ./tests/phpstan/plugins.neon --memory-limit=400M user/plugins",
  113. "test": "vendor/bin/codecept run unit",
  114. "test-windows": "vendor\\bin\\codecept run unit"
  115. },
  116. "extra": {
  117. "branch-alias": {
  118. "dev-develop": "1.x-dev"
  119. }
  120. }
  121. }