composer.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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": ">=8.1",
  20. "hyperf/contract": "~3.1.0",
  21. "hyperf/support": "~3.1.0",
  22. "jetbrains/phpstorm-attributes": "^1.0"
  23. },
  24. "suggest": {
  25. "hyperf/event": "Required to use RegisterServiceListener.",
  26. "hyperf/framework": "Required to use RegisterServiceListener.",
  27. "hyperf/service-governance-consul": "Required to use consul adapter.",
  28. "hyperf/service-governance-nacos": "Required to use nacos adapter."
  29. },
  30. "autoload": {
  31. "psr-4": {
  32. "Hyperf\\ServiceGovernance\\": "src/"
  33. }
  34. },
  35. "autoload-dev": {
  36. "psr-4": {
  37. "HyperfTest\\ServiceGovernance\\": "tests/"
  38. }
  39. },
  40. "config": {
  41. "sort-packages": true
  42. },
  43. "extra": {
  44. "branch-alias": {
  45. "dev-master": "3.1-dev"
  46. },
  47. "hyperf": {
  48. "config": "Hyperf\\ServiceGovernance\\ConfigProvider"
  49. }
  50. }
  51. }