composer.json 3.2 KB

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