composer.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. {
  2. "name": "cnaf/symfony-skeleton",
  3. "type": "project",
  4. "license": "MIT",
  5. "description": "A minimal Symfony project recommended to create bare bones applications",
  6. "minimum-stability": "stable",
  7. "prefer-stable": true,
  8. "repositories": [
  9. {
  10. "packagist": false
  11. },
  12. {
  13. "type": "composer",
  14. "url": "http://nexus.intra.cnaf/repository/composer-proxy/"
  15. },
  16. {
  17. "type": "composer",
  18. "url": "http://nexus.intra.cnaf/repository/composer-snapshots/"
  19. },
  20. {
  21. "type": "composer",
  22. "url": "http://nexus.intra.cnaf/repository/composer-releases/"
  23. }
  24. ],
  25. "require": {
  26. "php": ">=8.1",
  27. "ext-ctype": "*",
  28. "ext-iconv": "*",
  29. "doctrine/dbal": "^3",
  30. "doctrine/doctrine-bundle": "^2.13",
  31. "doctrine/doctrine-migrations-bundle": "^3.3",
  32. "doctrine/orm": "^3.3",
  33. "phpdocumentor/reflection-docblock": "^5.6",
  34. "phpstan/phpdoc-parser": "^2.0",
  35. "symfony/asset": "6.4.*",
  36. "symfony/console": "6.4.*",
  37. "symfony/doctrine-messenger": "6.4.*",
  38. "symfony/dotenv": "6.4.*",
  39. "symfony/expression-language": "6.4.*",
  40. "symfony/flex": "^2",
  41. "symfony/form": "6.4.*",
  42. "symfony/framework-bundle": "6.4.*",
  43. "symfony/http-client": "6.4.*",
  44. "symfony/intl": "6.4.*",
  45. "symfony/mailer": "6.4.*",
  46. "symfony/mime": "6.4.*",
  47. "symfony/monolog-bundle": "^3.0",
  48. "symfony/notifier": "6.4.*",
  49. "symfony/process": "6.4.*",
  50. "symfony/property-access": "6.4.*",
  51. "symfony/property-info": "6.4.*",
  52. "symfony/runtime": "6.4.*",
  53. "symfony/security-bundle": "6.4.*",
  54. "symfony/serializer": "6.4.*",
  55. "symfony/stimulus-bundle": "^2.22",
  56. "symfony/string": "6.4.*",
  57. "symfony/translation": "6.4.*",
  58. "symfony/twig-bundle": "6.4.*",
  59. "symfony/ux-turbo": "^2.22",
  60. "symfony/validator": "6.4.*",
  61. "symfony/web-link": "6.4.*",
  62. "symfony/webpack-encore-bundle": "^2.2",
  63. "symfony/yaml": "6.4.*",
  64. "twig/cssinliner-extra": "^3.18",
  65. "twig/extra-bundle": "^3.18",
  66. "twig/inky-extra": "^3.18",
  67. "twig/twig": "^2.12|^3.0"
  68. },
  69. "config": {
  70. "secure-http": false,
  71. "allow-plugins": {
  72. "composer/package-versions-deprecated": true,
  73. "symfony/flex": true,
  74. "symfony/runtime": true
  75. },
  76. "optimize-autoloader": true,
  77. "preferred-install": {
  78. "*": "dist"
  79. },
  80. "sort-packages": true
  81. },
  82. "autoload": {
  83. "psr-4": {
  84. "App\\": "src/"
  85. }
  86. },
  87. "autoload-dev": {
  88. "psr-4": {
  89. "App\\Tests\\": "tests/"
  90. }
  91. },
  92. "replace": {
  93. "symfony/polyfill-ctype": "*",
  94. "symfony/polyfill-iconv": "*",
  95. "symfony/polyfill-php72": "*",
  96. "symfony/polyfill-php73": "*",
  97. "symfony/polyfill-php74": "*",
  98. "symfony/polyfill-php80": "*"
  99. },
  100. "scripts": {
  101. "auto-scripts": {
  102. "cache:clear": "symfony-cmd",
  103. "assets:install %PUBLIC_DIR%": "symfony-cmd"
  104. },
  105. "post-install-cmd": [
  106. "@auto-scripts"
  107. ],
  108. "post-update-cmd": [
  109. "@auto-scripts"
  110. ]
  111. },
  112. "conflict": {
  113. "symfony/symfony": "*"
  114. },
  115. "extra": {
  116. "symfony": {
  117. "allow-contrib": true,
  118. "require": "6.4.*",
  119. "endpoint": [
  120. "https://gitlab.si.cnaf.info/api/v4/projects/48673/repository/files/index.json/raw?ref=main",
  121. "https://gitlab.si.cnaf.info/cnaf/flex/recipes/-/raw/flex/main/index.json",
  122. "https://gitlab.si.cnaf.info/cnaf/flex/recipes-contrib/-/raw/flex/main/index.json"
  123. ]
  124. }
  125. },
  126. "require-dev": {
  127. "phpunit/phpunit": "^9.5",
  128. "symfony/browser-kit": "6.4.*",
  129. "symfony/css-selector": "6.4.*",
  130. "symfony/debug-bundle": "6.4.*",
  131. "symfony/maker-bundle": "^1.61",
  132. "symfony/phpunit-bridge": "^7.2",
  133. "symfony/stopwatch": "6.4.*",
  134. "symfony/web-profiler-bundle": "6.4.*"
  135. }
  136. }