composer.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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.1.0",
  32. "ext-intl": "*",
  33. "ext-mbstring": "*",
  34. "cakephp/chronos": "^1.0.1",
  35. "aura/intl": "^3.0.0",
  36. "composer/ca-bundle": "^1.0",
  37. "psr/log": "^1.0.0",
  38. "psr/simple-cache": "^1.0.0",
  39. "zendframework/zend-diactoros": "^1.8",
  40. "zendframework/zend-httphandlerrunner": "^1.0"
  41. },
  42. "suggest": {
  43. "ext-openssl": "To use Security::encrypt() or have secure CSRF token generation.",
  44. "ext-curl": "To enable more efficient network calls in Http\\Client.",
  45. "lib-ICU": "The intl PHP library, to use Text::transliterate() or Text::slug()"
  46. },
  47. "require-dev": {
  48. "phpunit/phpunit": "^7.0",
  49. "cakephp/cakephp-codesniffer": "^3.0",
  50. "slevomat/coding-standard": "^4.6.2",
  51. "mikey179/vfsStream": "^1.6"
  52. },
  53. "autoload": {
  54. "psr-4": {
  55. "Cake\\": "src/"
  56. },
  57. "files": [
  58. "src/Core/functions.php",
  59. "src/Collection/functions.php",
  60. "src/I18n/functions.php",
  61. "src/Utility/bootstrap.php"
  62. ]
  63. },
  64. "autoload-dev": {
  65. "psr-4": {
  66. "Cake\\PHPStan\\": "tests/PHPStan/",
  67. "Cake\\Test\\": "tests/",
  68. "TestApp\\": "tests/test_app/TestApp/",
  69. "TestPlugin\\": "tests/test_app/Plugin/TestPlugin/src/",
  70. "TestPlugin\\Test\\": "tests/test_app/Plugin/TestPlugin/tests/",
  71. "TestPluginTwo\\": "tests/test_app/Plugin/TestPluginTwo/src/",
  72. "Company\\TestPluginThree\\": "tests/test_app/Plugin/Company/TestPluginThree/src/",
  73. "Company\\TestPluginThree\\Test\\": "tests/test_app/Plugin/Company/TestPluginThree/tests/",
  74. "ParentPlugin\\": "tests/test_app/Plugin/ParentPlugin/src/",
  75. "PluginJs\\": "tests/test_app/Plugin/PluginJs/src/"
  76. }
  77. },
  78. "replace": {
  79. "cakephp/cache": "self.version",
  80. "cakephp/collection": "self.version",
  81. "cakephp/core": "self.version",
  82. "cakephp/datasource": "self.version",
  83. "cakephp/database": "self.version",
  84. "cakephp/event": "self.version",
  85. "cakephp/filesystem": "self.version",
  86. "cakephp/form": "self.version",
  87. "cakephp/i18n": "self.version",
  88. "cakephp/log": "self.version",
  89. "cakephp/orm": "self.version",
  90. "cakephp/utility": "self.version",
  91. "cakephp/validation": "self.version"
  92. },
  93. "scripts": {
  94. "check": [
  95. "@cs-check",
  96. "@test"
  97. ],
  98. "cs-check": "phpcs --colors -p ./src ./tests",
  99. "cs-fix": "phpcbf --colors ./src ./tests",
  100. "test": "phpunit",
  101. "test-coverage": "phpunit --coverage-clover=clover.xml"
  102. }
  103. }