composer.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "name": "hyperf/service-governance",
  3. "description": "A service governance component for Hyperf.",
  4. "license": "MIT",
  5. "keywords": [
  6. "php",
  7. "swoole",
  8. "hyperf",
  9. "service-governance"
  10. ],
  11. "homepage": "https://hyperf.io",
  12. "support": {
  13. "docs": "https://hyperf.wiki",
  14. "issues": "https://github.com/hyperf/hyperf/issues",
  15. "pull-request": "https://github.com/hyperf/hyperf/pulls",
  16. "source": "https://github.com/hyperf/hyperf"
  17. },
  18. "require": {
  19. "php": ">=7.2",
  20. "hyperf/consul": "~2.2.0",
  21. "hyperf/contract": "~2.2.0"
  22. },
  23. "suggest": {
  24. "hyperf/event": "Required to use RegisterServiceListener.",
  25. "hyperf/framework": "Required to use RegisterServiceListener.",
  26. "hyperf/service-governance-consul": "Required to use consul adapter.",
  27. "hyperf/service-governance-nacos": "Required to use nacos adapter."
  28. },
  29. "autoload": {
  30. "psr-4": {
  31. "Hyperf\\ServiceGovernance\\": "src/"
  32. }
  33. },
  34. "autoload-dev": {
  35. "psr-4": {
  36. "HyperfTest\\ServiceGovernance\\": "tests/"
  37. }
  38. },
  39. "config": {
  40. "sort-packages": true
  41. },
  42. "extra": {
  43. "branch-alias": {
  44. "dev-master": "2.2-dev"
  45. },
  46. "hyperf": {
  47. "config": "Hyperf\\ServiceGovernance\\ConfigProvider"
  48. }
  49. }
  50. }