composer.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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.1.3",
  16. "ext-json": "*",
  17. "ext-mbstring": "*",
  18. "ext-openssl": "*",
  19. "ext-curl": "*",
  20. "ext-zip": "*",
  21. "ext-dom": "*",
  22. "symfony/polyfill-iconv": "^1.9",
  23. "symfony/polyfill-php72": "^1.9",
  24. "symfony/polyfill-php73": "^1.9",
  25. "psr/simple-cache": "^1.0",
  26. "psr/http-message": "^1.0",
  27. "psr/http-server-middleware": "^1.0",
  28. "kodus/psr7-server": "*",
  29. "nyholm/psr7": "^1.0",
  30. "twig/twig": "~1.40",
  31. "erusev/parsedown": "1.6.4",
  32. "erusev/parsedown-extra": "~0.7",
  33. "symfony/yaml": "~4.2.0",
  34. "symfony/console": "~4.2.0",
  35. "symfony/event-dispatcher": "~4.2.0",
  36. "symfony/var-dumper": "~4.2.0",
  37. "symfony/process": "~4.2.0",
  38. "doctrine/cache": "^1.8",
  39. "doctrine/collections": "^1.5",
  40. "guzzlehttp/psr7": "^1.4",
  41. "filp/whoops": "~2.2",
  42. "matthiasmullie/minify": "^1.3",
  43. "monolog/monolog": "~1.0",
  44. "gregwar/image": "2.*",
  45. "donatj/phpuseragentparser": "~0.10",
  46. "pimple/pimple": "~3.2",
  47. "rockettheme/toolbox": "~1.4.0",
  48. "maximebf/debugbar": "~1.15",
  49. "league/climate": "^3.4",
  50. "antoligy/dom-string-iterators": "^1.0",
  51. "miljar/php-exif": "^0.6.4",
  52. "composer/ca-bundle": "^1.0",
  53. "dragonmantank/cron-expression": "^1.2",
  54. "phive/twig-extensions-deferred": "^1.0",
  55. "willdurand/negotiation": "^2.3"
  56. },
  57. "require-dev": {
  58. "codeception/codeception": "^2.4",
  59. "phpstan/phpstan": "^0.11",
  60. "phpstan/phpstan-deprecation-rules": "^0.11.0",
  61. "phpunit/php-code-coverage": "~6.0",
  62. "fzaninotto/faker": "^1.8",
  63. "victorjonsson/markdowndocs": "dev-master"
  64. },
  65. "suggest": {
  66. "ext-zend-opcache": "Recommended for better performance",
  67. "ext-intl": "Recommended for multi-language sites",
  68. "ext-memcache": "Needed to support Memcache servers",
  69. "ext-memcached": "Needed to support Memcached servers",
  70. "ext-redis": "Needed to support Redis servers"
  71. },
  72. "config": {
  73. "apcu-autoloader": true,
  74. "platform": {
  75. "php": "7.1.3"
  76. }
  77. },
  78. "repositories": [
  79. {
  80. "type": "vcs",
  81. "url": "https://github.com/trilbymedia/PHP-Markdown-Documentation-Generator"
  82. }
  83. ],
  84. "autoload": {
  85. "psr-4": {
  86. "Grav\\": "system/src/Grav"
  87. },
  88. "files": [
  89. "system/defines.php"
  90. ]
  91. },
  92. "archive": {
  93. "exclude": [
  94. "VERSION"
  95. ]
  96. },
  97. "scripts": {
  98. "api-16": "vendor/bin/phpdoc-md generate system/src > user/pages/14.api/default.16.md",
  99. "api-15": "vendor/bin/phpdoc-md generate system/src > user/pages/14.api/default.md",
  100. "post-create-project-cmd": "bin/grav install",
  101. "phpstan": "vendor/bin/phpstan analyse -l 2 -c ./tests/phpstan/phpstan.neon system/src --memory-limit=256M",
  102. "phpstan-framework": "vendor/bin/phpstan analyse -l 5 -c ./tests/phpstan/phpstan.neon system/src/Grav/Framework --memory-limit=256M",
  103. "phpstan-plugins": "vendor/bin/phpstan analyse -l 0 -c ./tests/phpstan/plugins.neon user/plugins --memory-limit=256M",
  104. "test": "vendor/bin/codecept run unit",
  105. "test-windows": "vendor\\bin\\codecept run unit"
  106. },
  107. "extra": {
  108. "branch-alias": {
  109. "dev-develop": "1.x-dev"
  110. }
  111. }
  112. }