composer.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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": ">=8.1",
  20. "psr/container": "^1.0|^2.0",
  21. "hyperf/codec": "~3.1.0",
  22. "hyperf/contract": "~3.1.0",
  23. "hyperf/engine": "^2.0",
  24. "hyperf/load-balancer": "~3.1.0",
  25. "hyperf/http-message": "~3.1.0",
  26. "hyperf/rpc": "~3.1.0",
  27. "hyperf/serializer": "~3.1.0",
  28. "hyperf/support": "~3.1.0",
  29. "hyperf/utils": "~3.1.0",
  30. "hyperf/context": "~3.1.0",
  31. "swow/psr7-plus": "^1.0"
  32. },
  33. "suggest": {
  34. "hyperf/event": "Register the objects to ProtocolManager automatically.",
  35. "hyperf/framework": "Register the objects to ProtocolManager automatically.",
  36. "hyperf/guzzle": "Required to use JSON RPC with HTTP protocol.",
  37. "hyperf/rpc-client": "Reqiured to use JSON RPC in hyperf rpc client.",
  38. "hyperf/rpc-server": "Reqiured to use JSON RPC in hyperf rpc server."
  39. },
  40. "autoload": {
  41. "psr-4": {
  42. "Hyperf\\JsonRpc\\": "src/"
  43. }
  44. },
  45. "autoload-dev": {
  46. "psr-4": {
  47. "HyperfTest\\JsonRpc\\": "tests/"
  48. }
  49. },
  50. "config": {
  51. "sort-packages": true
  52. },
  53. "extra": {
  54. "branch-alias": {
  55. "dev-master": "3.1-dev"
  56. },
  57. "hyperf": {
  58. "config": "Hyperf\\JsonRpc\\ConfigProvider"
  59. }
  60. }
  61. }