composer.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "name": "hyperf/framework",
  3. "description": "A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.",
  4. "license": "MIT",
  5. "keywords": [
  6. "php",
  7. "swoole",
  8. "framework",
  9. "hyperf",
  10. "microservice",
  11. "middleware"
  12. ],
  13. "homepage": "https://hyperf.io",
  14. "support": {
  15. "docs": "https://hyperf.wiki",
  16. "issues": "https://github.com/hyperf/hyperf/issues",
  17. "pull-request": "https://github.com/hyperf/hyperf/pulls",
  18. "source": "https://github.com/hyperf/hyperf"
  19. },
  20. "require": {
  21. "php": ">=7.2",
  22. "ext-swoole": ">=4.4",
  23. "fig/http-message-util": "^1.1.2",
  24. "hyperf/contract": "~2.0.0",
  25. "hyperf/utils": "~2.0.0",
  26. "psr/container": "^1.0",
  27. "psr/event-dispatcher": "^1.0",
  28. "psr/log": "^1.0"
  29. },
  30. "require-dev": {
  31. "doctrine/common": "@stable",
  32. "friendsofphp/php-cs-fixer": "^2.9",
  33. "malukenho/docheader": "^0.1.6",
  34. "mockery/mockery": "^1.0",
  35. "phpunit/phpunit": "^7.0.0"
  36. },
  37. "suggest": {
  38. "hyperf/di": "Required to use Command annotation.",
  39. "hyperf/dispatcher": "Required to use BootApplication event.",
  40. "hyperf/command": "Required to use Command annotation.",
  41. "symfony/event-dispatcher": "Required to use symfony event dispatcher (^5.0)."
  42. },
  43. "autoload": {
  44. "psr-4": {
  45. "Hyperf\\Framework\\": "src/"
  46. }
  47. },
  48. "autoload-dev": {
  49. "psr-4": {
  50. "HyperfTest\\Framework\\": "tests/"
  51. }
  52. },
  53. "config": {
  54. "sort-packages": true
  55. },
  56. "extra": {
  57. "branch-alias": {
  58. "dev-master": "2.0-dev"
  59. },
  60. "hyperf": {
  61. "config": "Hyperf\\Framework\\ConfigProvider"
  62. }
  63. },
  64. "bin": [
  65. ],
  66. "scripts": {
  67. "cs-fix": "php-cs-fixer fix $1",
  68. "test": "phpunit --colors=always"
  69. }
  70. }