composer.json 3.7 KB

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