composer.json 3.2 KB

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