composer.json 3.4 KB

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