composer.json 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "name": "cakephp/cakephp",
  3. "description": "The CakePHP framework",
  4. "type": "library",
  5. "keywords": [
  6. "framework"
  7. ],
  8. "homepage": "https://cakephp.org",
  9. "license": "MIT",
  10. "authors": [
  11. {
  12. "name": "CakePHP Community",
  13. "homepage": "https://github.com/cakephp/cakephp/graphs/contributors"
  14. }
  15. ],
  16. "support": {
  17. "issues": "https://github.com/cakephp/cakephp/issues",
  18. "forum": "https://stackoverflow.com/tags/cakephp",
  19. "irc": "irc://irc.freenode.org/cakephp",
  20. "source": "https://github.com/cakephp/cakephp"
  21. },
  22. "require": {
  23. "php": ">=5.6.0",
  24. "ext-intl": "*",
  25. "ext-mbstring": "*",
  26. "cakephp/chronos": "~1.0",
  27. "aura/intl": "^3.0.0",
  28. "psr/log": "^1.0",
  29. "zendframework/zend-diactoros": "^1.4"
  30. },
  31. "suggest": {
  32. "ext-openssl": "To use Security::encrypt() or have secure CSRF token generation.",
  33. "lib-ICU": "The intl PHP library, to use Text::transliterate() or Text::slug()"
  34. },
  35. "require-dev": {
  36. "phpunit/phpunit": "^5.7|^6.0",
  37. "cakephp/cakephp-codesniffer": "^3.0"
  38. },
  39. "autoload": {
  40. "psr-4": {
  41. "Cake\\": "src"
  42. },
  43. "files": [
  44. "src/Core/functions.php",
  45. "src/Collection/functions.php",
  46. "src/I18n/functions.php",
  47. "src/Utility/bootstrap.php"
  48. ]
  49. },
  50. "autoload-dev": {
  51. "psr-4": {
  52. "Cake\\PHPStan\\": "tests/PHPStan",
  53. "Cake\\Test\\": "tests",
  54. "TestApp\\": "tests/test_app/TestApp",
  55. "TestPlugin\\": "tests/test_app/Plugin/TestPlugin/src",
  56. "TestPlugin\\Test\\": "tests/test_app/Plugin/TestPlugin/tests",
  57. "TestPluginTwo\\": "tests/test_app/Plugin/TestPluginTwo/src",
  58. "Company\\TestPluginThree\\": "tests/test_app/Plugin/Company/TestPluginThree/src",
  59. "Company\\TestPluginThree\\Test\\": "tests/test_app/Plugin/Company/TestPluginThree/tests",
  60. "PluginJs\\": "tests/test_app/Plugin/PluginJs/src"
  61. }
  62. },
  63. "replace": {
  64. "cakephp/cache": "self.version",
  65. "cakephp/collection": "self.version",
  66. "cakephp/core": "self.version",
  67. "cakephp/datasource": "self.version",
  68. "cakephp/database": "self.version",
  69. "cakephp/event": "self.version",
  70. "cakephp/filesystem": "self.version",
  71. "cakephp/form": "self.version",
  72. "cakephp/i18n": "self.version",
  73. "cakephp/log": "self.version",
  74. "cakephp/orm": "self.version",
  75. "cakephp/utility": "self.version",
  76. "cakephp/validation": "self.version"
  77. },
  78. "conflict": {
  79. "phpunit/phpunit": "<5.7"
  80. },
  81. "scripts": {
  82. "check": [
  83. "@cs-check",
  84. "@test"
  85. ],
  86. "cs-check": "phpcs --colors -p ./src ./tests",
  87. "cs-fix": "phpcbf --colors ./src ./tests",
  88. "test": "phpunit",
  89. "test-coverage": "phpunit --coverage-clover=clover.xml"
  90. }
  91. }