composer.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "name": "hyperf/redis",
  3. "description": "A redis component for hyperf.",
  4. "license": "MIT",
  5. "keywords": [
  6. "php",
  7. "hyperf",
  8. "redis",
  9. "pool"
  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. "ext-redis": "*",
  21. "hyperf/contract": "~2.2.0",
  22. "hyperf/pool": "~2.2.0",
  23. "hyperf/utils": "~2.2.0",
  24. "psr/container": "^1.0|^2.0"
  25. },
  26. "suggest": {
  27. "hyperf/di": "Create the RedisPool via dependency injection.",
  28. "ext-redis": "Required to use sentinel mode (>=5.2)."
  29. },
  30. "autoload": {
  31. "psr-4": {
  32. "Hyperf\\Redis\\": "src/"
  33. }
  34. },
  35. "autoload-dev": {
  36. "psr-4": {
  37. "HyperfTest\\Redis\\": "tests/"
  38. }
  39. },
  40. "config": {
  41. "sort-packages": true
  42. },
  43. "extra": {
  44. "branch-alias": {
  45. "dev-master": "2.2-dev"
  46. },
  47. "hyperf": {
  48. "config": "Hyperf\\Redis\\ConfigProvider"
  49. }
  50. }
  51. }