composer.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "name": "hyperf/guzzle",
  3. "description": "Swoole coroutine handler for guzzle",
  4. "license": "MIT",
  5. "type": "library",
  6. "keywords": [
  7. "php",
  8. "swoole",
  9. "guzzle",
  10. "handler"
  11. ],
  12. "require": {
  13. "php": ">=8.1",
  14. "guzzlehttp/guzzle": "^6.3 || ^7.0",
  15. "hyperf/context": "~3.1.0",
  16. "hyperf/coroutine": "~3.1.0",
  17. "hyperf/engine": "^2.0",
  18. "psr/container": "^1.0 || ^2.0",
  19. "psr/http-message": "^1.0 || ^2.0"
  20. },
  21. "suggest": {
  22. "ext-curl": "Required for CURL handler support",
  23. "hyperf/pool": "Required to use pool handler."
  24. },
  25. "autoload": {
  26. "psr-4": {
  27. "Hyperf\\Guzzle\\": "src/"
  28. }
  29. },
  30. "autoload-dev": {
  31. "psr-4": {
  32. "HyperfTest\\Guzzle\\": "tests/"
  33. }
  34. },
  35. "config": {
  36. "sort-packages": true
  37. },
  38. "extra": {
  39. "branch-alias": {
  40. "dev-master": "3.1-dev"
  41. },
  42. "hyperf": {
  43. "config": "Hyperf\\Guzzle\\ConfigProvider"
  44. }
  45. }
  46. }