composer.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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-json": "*",
  33. "ext-intl": "*",
  34. "ext-mbstring": "*",
  35. "cakephp/chronos": "^2.0",
  36. "composer/ca-bundle": "^1.2",
  37. "laminas/laminas-diactoros": "^2.2.2",
  38. "laminas/laminas-httphandlerrunner": "^1.1",
  39. "league/container": "^3.2",
  40. "psr/http-client": "^1.0",
  41. "psr/http-server-handler": "^1.0",
  42. "psr/http-server-middleware": "^1.0",
  43. "psr/log": "^1.0.0",
  44. "psr/simple-cache": "^1.0.0"
  45. },
  46. "suggest": {
  47. "ext-openssl": "To use Security::encrypt() or have secure CSRF token generation.",
  48. "ext-curl": "To enable more efficient network calls in Http\\Client.",
  49. "lib-ICU": "The intl PHP library, to use Text::transliterate() or Text::slug()",
  50. "paragonie/csp-builder": "CSP builder, to use the CSP Middleware"
  51. },
  52. "require-dev": {
  53. "cakephp/cakephp-codesniffer": "^4.0",
  54. "mikey179/vfsstream": "^1.6",
  55. "paragonie/csp-builder": "^2.3",
  56. "phpunit/phpunit": "^8.5 || ^9.3"
  57. },
  58. "autoload": {
  59. "psr-4": {
  60. "Cake\\": "src/"
  61. },
  62. "files": [
  63. "src/Core/functions.php",
  64. "src/Collection/functions.php",
  65. "src/I18n/functions.php",
  66. "src/Routing/functions.php",
  67. "src/Utility/bootstrap.php"
  68. ]
  69. },
  70. "autoload-dev": {
  71. "psr-4": {
  72. "Cake\\PHPStan\\": "tests/PHPStan/",
  73. "Cake\\Test\\": "tests/",
  74. "TestApp\\": "tests/test_app/TestApp/",
  75. "TestPlugin\\": "tests/test_app/Plugin/TestPlugin/src/",
  76. "TestPlugin\\Test\\": "tests/test_app/Plugin/TestPlugin/tests/",
  77. "TestPluginTwo\\": "tests/test_app/Plugin/TestPluginTwo/src/",
  78. "Company\\TestPluginThree\\": "tests/test_app/Plugin/Company/TestPluginThree/src/",
  79. "Company\\TestPluginThree\\Test\\": "tests/test_app/Plugin/Company/TestPluginThree/tests/",
  80. "ParentPlugin\\": "tests/test_app/Plugin/ParentPlugin/src/"
  81. }
  82. },
  83. "replace": {
  84. "cakephp/cache": "self.version",
  85. "cakephp/collection": "self.version",
  86. "cakephp/console": "self.version",
  87. "cakephp/core": "self.version",
  88. "cakephp/datasource": "self.version",
  89. "cakephp/database": "self.version",
  90. "cakephp/event": "self.version",
  91. "cakephp/filesystem": "self.version",
  92. "cakephp/form": "self.version",
  93. "cakephp/http": "self.version",
  94. "cakephp/i18n": "self.version",
  95. "cakephp/log": "self.version",
  96. "cakephp/orm": "self.version",
  97. "cakephp/utility": "self.version",
  98. "cakephp/validation": "self.version"
  99. },
  100. "scripts": {
  101. "check": [
  102. "@cs-check",
  103. "@test"
  104. ],
  105. "cs-check": "phpcs --colors --parallel=16 -p src/ tests/",
  106. "cs-fix": "phpcbf --colors --parallel=16 -p src/ tests/",
  107. "test": "phpunit",
  108. "test-coverage": "phpunit --coverage-clover=clover.xml",
  109. "phpstan": "phpstan.phar analyse",
  110. "psalm": "psalm.phar --show-info=false",
  111. "stan": [
  112. "@phpstan",
  113. "@psalm"
  114. ],
  115. "stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:0.12.58 psalm/phar:~4.3.0 && mv composer.backup composer.json"
  116. },
  117. "config": {
  118. "sort-packages": true,
  119. "process-timeout": 900
  120. }
  121. }