composer.json 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. "lstrojny/functional-php": "^1.11",
  12. "sensio/framework-extra-bundle": "^5.1",
  13. "symfony/asset": "5.0.*",
  14. "symfony/console": "5.0.*",
  15. "symfony/dotenv": "^5.0",
  16. "symfony/event-dispatcher": "5.0.*",
  17. "symfony/expression-language": "5.0.*",
  18. "symfony/filesystem": "5.0.*",
  19. "symfony/flex": "^1.3.1",
  20. "symfony/form": "5.0.*",
  21. "symfony/framework-bundle": "5.0.*",
  22. "symfony/http-client": "5.0.*",
  23. "symfony/intl": "5.0.*",
  24. "symfony/mailer": "5.0.*",
  25. "symfony/monolog-bundle": "^3.1",
  26. "symfony/notifier": "5.0.*",
  27. "symfony/orm-pack": "^1.0",
  28. "symfony/process": "5.0.*",
  29. "symfony/security-bundle": "5.0.*",
  30. "symfony/serializer-pack": "*",
  31. "symfony/string": "5.0.*",
  32. "symfony/translation": "5.0.*",
  33. "symfony/twig-pack": "*",
  34. "symfony/validator": "5.0.*",
  35. "symfony/web-link": "5.0.*",
  36. "symfony/yaml": "5.0.*"
  37. },
  38. "require-dev": {
  39. "friendsofphp/php-cs-fixer": "^2.16",
  40. "symfony/debug-pack": "*",
  41. "symfony/maker-bundle": "^1.14",
  42. "symfony/profiler-pack": "*",
  43. "symfony/test-pack": "*"
  44. },
  45. "config": {
  46. "preferred-install": {
  47. "*": "dist"
  48. },
  49. "sort-packages": true
  50. },
  51. "autoload": {
  52. "psr-4": {
  53. "App\\": "src/",
  54. "Plugin\\": "plugins/enabled/"
  55. }
  56. },
  57. "autoload-dev": {
  58. "psr-4": {
  59. "App\\Tests\\": "tests/"
  60. }
  61. },
  62. "replace": {
  63. "paragonie/random_compat": "2.*",
  64. "symfony/polyfill-ctype": "*",
  65. "symfony/polyfill-iconv": "*",
  66. "symfony/polyfill-php72": "*",
  67. "symfony/polyfill-php71": "*",
  68. "symfony/polyfill-php70": "*",
  69. "symfony/polyfill-php56": "*"
  70. },
  71. "scripts": {
  72. "auto-scripts": {
  73. "cache:clear": "symfony-cmd",
  74. "assets:install %PUBLIC_DIR%": "symfony-cmd"
  75. },
  76. "post-install-cmd": [
  77. "@auto-scripts",
  78. "cp bin/pre-commit .git/hooks"
  79. ],
  80. "post-update-cmd": [
  81. "@auto-scripts"
  82. ]
  83. },
  84. "conflict": {
  85. "symfony/symfony": "*"
  86. },
  87. "extra": {
  88. "symfony": {
  89. "allow-contrib": false,
  90. "require": "5.0.*"
  91. }
  92. }
  93. }