composer.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "hyperf/rpc-server",
  3. "description": "An abstract rpc server component for Hyperf.",
  4. "license": "MIT",
  5. "keywords": [
  6. "php",
  7. "swoole",
  8. "hyperf",
  9. "rpc",
  10. "rpc-server"
  11. ],
  12. "homepage": "https://hyperf.io",
  13. "support": {
  14. "docs": "https://hyperf.wiki",
  15. "issues": "https://github.com/hyperf/hyperf/issues",
  16. "pull-request": "https://github.com/hyperf/hyperf/pulls",
  17. "source": "https://github.com/hyperf/hyperf"
  18. },
  19. "require": {
  20. "php": ">=7.2",
  21. "hyperf/http-server": "~2.0.0",
  22. "hyperf/rpc": "~2.0.0"
  23. },
  24. "require-dev": {
  25. "malukenho/docheader": "^0.1.6",
  26. "mockery/mockery": "^1.0",
  27. "phpunit/phpunit": "^7.0.0",
  28. "friendsofphp/php-cs-fixer": "^2.9"
  29. },
  30. "suggest": {
  31. "hyperf/di": "Required to use annotations."
  32. },
  33. "autoload": {
  34. "psr-4": {
  35. "Hyperf\\RpcServer\\": "src/"
  36. }
  37. },
  38. "autoload-dev": {
  39. "psr-4": {
  40. "HyperfTest\\RpcServer\\": "tests/"
  41. }
  42. },
  43. "config": {
  44. "sort-packages": true
  45. },
  46. "extra": {
  47. "branch-alias": {
  48. "dev-master": "2.0-dev"
  49. },
  50. "hyperf": {
  51. "config": "Hyperf\\RpcServer\\ConfigProvider"
  52. }
  53. },
  54. "bin": [
  55. ],
  56. "scripts": {
  57. "cs-fix": "php-cs-fixer fix $1",
  58. "test": "phpunit --colors=always"
  59. }
  60. }