composer.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. "symfony/console": "6.4.*",
  34. "symfony/dotenv": "6.4.*",
  35. "symfony/flex": "^2",
  36. "symfony/framework-bundle": "6.4.*",
  37. "symfony/runtime": "6.4.*",
  38. "symfony/yaml": "6.4.*"
  39. },
  40. "config": {
  41. "secure-http": false,
  42. "allow-plugins": {
  43. "composer/package-versions-deprecated": true,
  44. "symfony/flex": true,
  45. "symfony/runtime": true
  46. },
  47. "optimize-autoloader": true,
  48. "preferred-install": {
  49. "*": "dist"
  50. },
  51. "sort-packages": true
  52. },
  53. "autoload": {
  54. "psr-4": {
  55. "App\\": "src/"
  56. }
  57. },
  58. "autoload-dev": {
  59. "psr-4": {
  60. "App\\Tests\\": "tests/"
  61. }
  62. },
  63. "replace": {
  64. "symfony/polyfill-ctype": "*",
  65. "symfony/polyfill-iconv": "*",
  66. "symfony/polyfill-php72": "*",
  67. "symfony/polyfill-php73": "*",
  68. "symfony/polyfill-php74": "*",
  69. "symfony/polyfill-php80": "*"
  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. ],
  79. "post-update-cmd": [
  80. "@auto-scripts"
  81. ]
  82. },
  83. "conflict": {
  84. "symfony/symfony": "*"
  85. },
  86. "extra": {
  87. "symfony": {
  88. "allow-contrib": true,
  89. "require": "6.4.*",
  90. "endpoint": [
  91. "https://gitlab.si.cnaf.info/api/v4/projects/48673/repository/files/index.json/raw?ref=main",
  92. "https://gitlab.si.cnaf.info/cnaf/flex/recipes/-/raw/flex/main/index.json",
  93. "https://gitlab.si.cnaf.info/cnaf/flex/recipes-contrib/-/raw/flex/main/index.json"
  94. ]
  95. }
  96. },
  97. "require-dev": {
  98. "symfony/maker-bundle": "^1.61"
  99. }
  100. }