composer.json 3.7 KB

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