composer.json 2.9 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.6.0",
  22. "lib-ICU": ">=4.8",
  23. "ext-intl": "*",
  24. "ext-mbstring": "*",
  25. "cakephp/chronos": "~1.0",
  26. "aura/intl": "1.1.*",
  27. "psr/log": "^1.0",
  28. "zendframework/zend-diactoros": "~1.0"
  29. },
  30. "suggest": {
  31. "ext-openssl": "To use Security::encrypt() or have secure CSRF token generation."
  32. },
  33. "require-dev": {
  34. "phpunit/phpunit": "*",
  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\\Test\\": "tests",
  51. "TestApp\\": "tests/test_app/TestApp",
  52. "TestPlugin\\": "tests/test_app/Plugin/TestPlugin/src",
  53. "TestPlugin\\Test\\": "tests/test_app/Plugin/TestPlugin/tests",
  54. "TestPluginTwo\\": "tests/test_app/Plugin/TestPluginTwo/src",
  55. "Company\\TestPluginThree\\": "tests/test_app/Plugin/Company/TestPluginThree/src",
  56. "Company\\TestPluginThree\\Test\\": "tests/test_app/Plugin/Company/TestPluginThree/tests",
  57. "PluginJs\\": "tests/test_app/Plugin/PluginJs/src"
  58. }
  59. },
  60. "replace": {
  61. "cakephp/cache": "self.version",
  62. "cakephp/collection": "self.version",
  63. "cakephp/core": "self.version",
  64. "cakephp/datasource": "self.version",
  65. "cakephp/database": "self.version",
  66. "cakephp/event": "self.version",
  67. "cakephp/filesystem": "self.version",
  68. "cakephp/form": "self.version",
  69. "cakephp/i18n": "self.version",
  70. "cakephp/log": "self.version",
  71. "cakephp/orm": "self.version",
  72. "cakephp/utility": "self.version",
  73. "cakephp/validation": "self.version"
  74. },
  75. "scripts": {
  76. "check": [
  77. "@cs-check",
  78. "@test"
  79. ],
  80. "cs-check": "phpcs --colors -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests",
  81. "cs-fix": "phpcbf --colors --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests",
  82. "test": "phpunit --colors=always"
  83. }
  84. }