composer.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "hyperf/json-rpc",
  3. "description": "A JSON RPC component for Hyperf RPC Server or Client.",
  4. "license": "MIT",
  5. "keywords": [
  6. "php",
  7. "swoole",
  8. "hyperf",
  9. "json-rpc"
  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. "psr/container": "^1.0|^2.0",
  21. "hyperf/contract": "~2.2.0",
  22. "hyperf/load-balancer": "~2.2.0",
  23. "hyperf/http-message": "~2.2.0",
  24. "hyperf/rpc": "~2.2.0",
  25. "hyperf/utils": "~2.2.0"
  26. },
  27. "suggest": {
  28. "hyperf/event": "Register the objects to ProtocolManager automatically.",
  29. "hyperf/framework": "Register the objects to ProtocolManager automatically.",
  30. "hyperf/guzzle": "Required to use JSON RPC with HTTP protocol.",
  31. "hyperf/rpc-client": "Reqiured to use JSON RPC in hyperf rpc client.",
  32. "hyperf/rpc-server": "Reqiured to use JSON RPC in hyperf rpc server."
  33. },
  34. "autoload": {
  35. "psr-4": {
  36. "Hyperf\\JsonRpc\\": "src/"
  37. }
  38. },
  39. "autoload-dev": {
  40. "psr-4": {
  41. "HyperfTest\\JsonRpc\\": "tests/"
  42. }
  43. },
  44. "config": {
  45. "sort-packages": true
  46. },
  47. "extra": {
  48. "branch-alias": {
  49. "dev-master": "2.2-dev"
  50. },
  51. "hyperf": {
  52. "config": "Hyperf\\JsonRpc\\ConfigProvider"
  53. }
  54. }
  55. }