composer.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "hyperf/rpc-client",
  3. "description": "An abstract rpc server component for Hyperf.",
  4. "license": "MIT",
  5. "keywords": [
  6. "php",
  7. "swoole",
  8. "hyperf",
  9. "rpc",
  10. "rpc-client",
  11. "json-rpc"
  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. "psr/container": "^1.0",
  23. "hyperf/rpc": "~2.0.0",
  24. "hyperf/load-balancer": "~2.0.0",
  25. "hyperf/utils": "~2.0.0",
  26. "roave/better-reflection": "^4.0"
  27. },
  28. "require-dev": {
  29. "malukenho/docheader": "^0.1.6",
  30. "mockery/mockery": "^1.0",
  31. "phpunit/phpunit": "^7.0.0",
  32. "friendsofphp/php-cs-fixer": "^2.9"
  33. },
  34. "suggest": {
  35. "hyperf/consul": "For fetch the nodes info from consul.",
  36. "hyperf/di": "For better container experience.",
  37. "hyperf/pool": "Required to use connection pool."
  38. },
  39. "autoload": {
  40. "psr-4": {
  41. "Hyperf\\RpcClient\\": "src/"
  42. }
  43. },
  44. "autoload-dev": {
  45. "psr-4": {
  46. }
  47. },
  48. "config": {
  49. "sort-packages": true
  50. },
  51. "extra": {
  52. "branch-alias": {
  53. "dev-master": "2.0-dev"
  54. },
  55. "hyperf": {
  56. "config": "Hyperf\\RpcClient\\ConfigProvider"
  57. }
  58. },
  59. "bin": [
  60. ],
  61. "scripts": {
  62. "cs-fix": "php-cs-fixer fix $1",
  63. "test": "phpunit --colors=always"
  64. }
  65. }