composer.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. {
  2. "name": "cakephp/cakephp",
  3. "description": "The CakePHP framework",
  4. "type": "library",
  5. "keywords": [
  6. "framework",
  7. "mvc",
  8. "rapid-development",
  9. "conventions over configuration",
  10. "dry",
  11. "orm",
  12. "form",
  13. "validation",
  14. "psr-7"
  15. ],
  16. "homepage": "https://cakephp.org",
  17. "license": "MIT",
  18. "authors": [
  19. {
  20. "name": "CakePHP Community",
  21. "homepage": "https://github.com/cakephp/cakephp/graphs/contributors"
  22. }
  23. ],
  24. "support": {
  25. "issues": "https://github.com/cakephp/cakephp/issues",
  26. "forum": "https://stackoverflow.com/tags/cakephp",
  27. "irc": "irc://irc.freenode.org/cakephp",
  28. "source": "https://github.com/cakephp/cakephp"
  29. },
  30. "require": {
  31. "php": ">=7.2.0",
  32. "ext-intl": "*",
  33. "ext-mbstring": "*",
  34. "aura/intl": "^3.0.0",
  35. "cakephp/chronos": "^2.0",
  36. "composer/ca-bundle": "^1.0",
  37. "psr/http-client": "^1.0",
  38. "psr/http-server-handler": "^1.0",
  39. "psr/http-server-middleware": "^1.0",
  40. "psr/log": "^1.0.0",
  41. "psr/simple-cache": "^1.0.0",
  42. "zendframework/zend-diactoros": "^2.0",
  43. "zendframework/zend-httphandlerrunner": "^1.0"
  44. },
  45. "suggest": {
  46. "ext-openssl": "To use Security::encrypt() or have secure CSRF token generation.",
  47. "ext-curl": "To enable more efficient network calls in Http\\Client.",
  48. "lib-ICU": "The intl PHP library, to use Text::transliterate() or Text::slug()",
  49. "paragonie/csp-builder": "CSP builder, to use the CSP Middleware"
  50. },
  51. "require-dev": {
  52. "cakephp/cakephp-codesniffer": "^4.0",
  53. "mikey179/vfsstream": "^1.6",
  54. "paragonie/csp-builder": "^2.3",
  55. "phpunit/phpunit": "~8.5.0"
  56. },
  57. "autoload": {
  58. "psr-4": {
  59. "Cake\\": "src/"
  60. },
  61. "files": [
  62. "src/Core/functions.php",
  63. "src/Collection/functions.php",
  64. "src/I18n/functions.php",
  65. "src/Utility/bootstrap.php"
  66. ]
  67. },
  68. "autoload-dev": {
  69. "psr-4": {
  70. "Cake\\PHPStan\\": "tests/PHPStan/",
  71. "Cake\\Test\\": "tests/",
  72. "TestApp\\": "tests/test_app/TestApp/",
  73. "TestPlugin\\": "tests/test_app/Plugin/TestPlugin/src/",
  74. "TestPlugin\\Test\\": "tests/test_app/Plugin/TestPlugin/tests/",
  75. "TestPluginTwo\\": "tests/test_app/Plugin/TestPluginTwo/src/",
  76. "Company\\TestPluginThree\\": "tests/test_app/Plugin/Company/TestPluginThree/src/",
  77. "Company\\TestPluginThree\\Test\\": "tests/test_app/Plugin/Company/TestPluginThree/tests/",
  78. "ParentPlugin\\": "tests/test_app/Plugin/ParentPlugin/src/"
  79. }
  80. },
  81. "replace": {
  82. "cakephp/cache": "self.version",
  83. "cakephp/collection": "self.version",
  84. "cakephp/console": "self.version",
  85. "cakephp/core": "self.version",
  86. "cakephp/datasource": "self.version",
  87. "cakephp/database": "self.version",
  88. "cakephp/event": "self.version",
  89. "cakephp/filesystem": "self.version",
  90. "cakephp/form": "self.version",
  91. "cakephp/http": "self.version",
  92. "cakephp/i18n": "self.version",
  93. "cakephp/log": "self.version",
  94. "cakephp/orm": "self.version",
  95. "cakephp/utility": "self.version",
  96. "cakephp/validation": "self.version"
  97. },
  98. "scripts": {
  99. "check": [
  100. "@cs-check",
  101. "@test"
  102. ],
  103. "cs-check": "phpcs --colors --parallel=16 -p src/ tests/",
  104. "cs-fix": "phpcbf --colors --parallel=16 -p src/ tests/",
  105. "test": "phpunit",
  106. "test-coverage": "phpunit --coverage-clover=clover.xml",
  107. "phpstan": "phpstan.phar analyse src/",
  108. "psalm": "psalm.phar --show-info=false",
  109. "stan": [
  110. "@phpstan",
  111. "@psalm"
  112. ],
  113. "stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^0.12.0 psalm/phar:^3.7 && mv composer.backup composer.json"
  114. },
  115. "config": {
  116. "sort-packages": true,
  117. "process-timeout": 900
  118. }
  119. }