composer.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "type": "project",
  3. "license": "proprietary",
  4. "require": {
  5. "php": "^7.2.5",
  6. "ext-ctype": "*",
  7. "ext-iconv": "*",
  8. "api-platform/api-pack": "^1.2",
  9. "doctrine/annotations": "^1.10",
  10. "symfony/console": "5.1.*",
  11. "symfony/debug-pack": "^1.0",
  12. "symfony/dotenv": "5.1.*",
  13. "symfony/flex": "^1.3.1",
  14. "symfony/framework-bundle": "5.1.*",
  15. "symfony/http-client": "5.1.*",
  16. "symfony/maker-bundle": "^1.19",
  17. "symfony/monolog-bundle": "^3.5",
  18. "symfony/webpack-encore-bundle": "^1.7",
  19. "symfony/yaml": "5.1.*"
  20. },
  21. "require-dev": {
  22. },
  23. "config": {
  24. "optimize-autoloader": true,
  25. "preferred-install": {
  26. "*": "dist"
  27. },
  28. "sort-packages": true
  29. },
  30. "autoload": {
  31. "psr-4": {
  32. "App\\": "src/"
  33. }
  34. },
  35. "autoload-dev": {
  36. "psr-4": {
  37. "App\\Tests\\": "tests/"
  38. }
  39. },
  40. "replace": {
  41. "paragonie/random_compat": "2.*",
  42. "symfony/polyfill-ctype": "*",
  43. "symfony/polyfill-iconv": "*",
  44. "symfony/polyfill-php72": "*",
  45. "symfony/polyfill-php71": "*",
  46. "symfony/polyfill-php70": "*",
  47. "symfony/polyfill-php56": "*"
  48. },
  49. "scripts": {
  50. "auto-scripts": {
  51. "cache:clear": "symfony-cmd",
  52. "assets:install %PUBLIC_DIR%": "symfony-cmd"
  53. },
  54. "post-install-cmd": [
  55. "@auto-scripts"
  56. ],
  57. "post-update-cmd": [
  58. "@auto-scripts"
  59. ]
  60. },
  61. "conflict": {
  62. "symfony/symfony": "*"
  63. },
  64. "extra": {
  65. "symfony": {
  66. "allow-contrib": false,
  67. "require": "5.1.*"
  68. }
  69. }
  70. }