composer.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "name": "hyperf/rpc",
  3. "description": "A rpc basic library for Hyperf.",
  4. "license": "MIT",
  5. "keywords": [
  6. "php",
  7. "swoole",
  8. "hyperf",
  9. "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. "hyperf/contract": "~2.0.0",
  21. "hyperf/utils": "~2.0.0"
  22. },
  23. "require-dev": {
  24. "malukenho/docheader": "^0.1.6",
  25. "mockery/mockery": "^1.0",
  26. "phpunit/phpunit": "^7.0.0",
  27. "friendsofphp/php-cs-fixer": "^2.9"
  28. },
  29. "suggest": {
  30. },
  31. "autoload": {
  32. "psr-4": {
  33. "Hyperf\\Rpc\\": "src/"
  34. }
  35. },
  36. "autoload-dev": {
  37. "psr-4": {
  38. "HyperfTest\\Rpc\\": "tests/"
  39. }
  40. },
  41. "config": {
  42. "sort-packages": true
  43. },
  44. "extra": {
  45. "branch-alias": {
  46. "dev-master": "2.0-dev"
  47. },
  48. "hyperf": {
  49. }
  50. },
  51. "bin": [
  52. ],
  53. "scripts": {
  54. "cs-fix": "php-cs-fixer fix $1",
  55. "test": "phpunit --colors=always"
  56. }
  57. }