composer.json 3.0 KB

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