composer.json 2.8 KB

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