composer.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. {
  2. "type": "project",
  3. "name": "gnu/social",
  4. "description": "Free software social networking platform.",
  5. "license": "AGPL-3.0-only",
  6. "require": {
  7. "php": "^8.0",
  8. "ext-ctype": "*",
  9. "ext-iconv": "*",
  10. "ext-vips": "*",
  11. "alchemy/zippy": "v0.5.x-dev",
  12. "embed/embed": "^4.3",
  13. "erusev/parsedown": "^1.7",
  14. "lstrojny/functional-php": "^1.11",
  15. "nyholm/psr7": "^1.4",
  16. "odolbeau/phone-number-bundle": "^3.1",
  17. "oro/doctrine-extensions": "^2.0",
  18. "php-ds/php-ds": "^1.2",
  19. "sensio/framework-extra-bundle": "^5.2",
  20. "someonewithpc/memcached-polyfill": "^1.0",
  21. "someonewithpc/redis-polyfill": "dev-master",
  22. "symfony/asset": "5.2.*",
  23. "symfony/cache": "5.2.*",
  24. "symfony/config": "5.2.*",
  25. "symfony/console": "5.2.*",
  26. "symfony/dom-crawler": "5.2.*",
  27. "symfony/dotenv": "5.2.*",
  28. "symfony/event-dispatcher": "5.2.*",
  29. "symfony/expression-language": "5.2.*",
  30. "symfony/filesystem": "5.2.*",
  31. "symfony/flex": "^1.3.1",
  32. "symfony/form": "5.2.*",
  33. "symfony/framework-bundle": "5.2.*",
  34. "symfony/http-client": "5.2.*",
  35. "symfony/intl": "5.2.*",
  36. "symfony/mailer": "5.2.*",
  37. "symfony/messenger": "5.2.*",
  38. "symfony/mime": "5.2.*",
  39. "symfony/monolog-bundle": "^3.1",
  40. "symfony/notifier": "5.2.*",
  41. "symfony/orm-pack": "*",
  42. "symfony/process": "5.2.*",
  43. "symfony/security-bundle": "5.2.*",
  44. "symfony/serializer-pack": "*",
  45. "symfony/string": "5.2.*",
  46. "symfony/translation": "5.2.*",
  47. "symfony/twig-pack": "*",
  48. "symfony/validator": "5.2.*",
  49. "symfony/web-link": "5.2.*",
  50. "symfony/yaml": "5.2.*",
  51. "symfonycasts/verify-email-bundle": "^1.0",
  52. "tgalopin/html-sanitizer-bundle": "^1.2",
  53. "twig/markdown-extra": "^3.0",
  54. "wikimedia/composer-merge-plugin": "^2.0",
  55. "ext-curl": "*"
  56. },
  57. "require-dev": {
  58. "doctrine/doctrine-fixtures-bundle": "^3.4",
  59. "friendsofphp/php-cs-fixer": "^2.16",
  60. "jchook/phpunit-assert-throws": "^1.0",
  61. "niels-de-blaauw/php-doc-check": "^0.2.2",
  62. "symfony/debug-pack": "*",
  63. "symfony/maker-bundle": "^1.14",
  64. "symfony/phpunit-bridge": "^5.2",
  65. "symfony/profiler-pack": "*",
  66. "symfony/test-pack": "*"
  67. },
  68. "config": {
  69. "preferred-install": {
  70. "*": "dist"
  71. },
  72. "sort-packages": true
  73. },
  74. "autoload": {
  75. "files": ["src/Core/I18n/I18n.php"],
  76. "psr-4": {
  77. "App\\": "src/",
  78. "Plugin\\": "plugins/",
  79. "Component\\": "components/"
  80. }
  81. },
  82. "autoload-dev": {
  83. "psr-4": {
  84. "App\\Tests\\": "tests/"
  85. }
  86. },
  87. "replace": {
  88. "paragonie/random_compat": "2.*",
  89. "symfony/polyfill-ctype": "*",
  90. "symfony/polyfill-iconv": "*",
  91. "symfony/polyfill-php72": "*",
  92. "symfony/polyfill-php71": "*",
  93. "symfony/polyfill-php70": "*",
  94. "symfony/polyfill-php56": "*"
  95. },
  96. "scripts": {
  97. "auto-scripts": {
  98. "cache:clear": "symfony-cmd",
  99. "assets:install %PUBLIC_DIR%": "symfony-cmd"
  100. },
  101. "post-install-cmd": [
  102. "@auto-scripts",
  103. "cp -fu bin/pre-commit .git/hooks"
  104. ],
  105. "post-update-cmd": [
  106. "@auto-scripts"
  107. ]
  108. },
  109. "conflict": {
  110. "symfony/symfony": "*"
  111. },
  112. "extra": {
  113. "symfony": {
  114. "allow-contrib": false,
  115. "require": "5.2.*"
  116. },
  117. "merge-plugin": {
  118. "include": [
  119. "components/*/composer.json",
  120. "plugins/*/composer.json"
  121. ]
  122. }
  123. }
  124. }