composer.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "hyperf/command",
  3. "description": "Command for hyperf",
  4. "license": "MIT",
  5. "type": "library",
  6. "keywords": [
  7. "php",
  8. "swoole",
  9. "command"
  10. ],
  11. "require": {
  12. "php": ">=8.1",
  13. "hyperf/collection": "~3.1.0",
  14. "hyperf/context": "~3.1.0",
  15. "hyperf/contract": "~3.1.0",
  16. "hyperf/coroutine": "~3.1.0",
  17. "hyperf/di": "~3.1.0",
  18. "hyperf/stringable": "~3.1.0",
  19. "hyperf/support": "~3.1.0",
  20. "hyperf/tappable": "~3.1.0",
  21. "psr/event-dispatcher": "^1.0",
  22. "symfony/console": "^5.0 || ^6.0 || ^7.0"
  23. },
  24. "suggest": {
  25. "hyperf/di": "Required to use annotations.",
  26. "hyperf/event": "Required to use listeners."
  27. },
  28. "autoload": {
  29. "psr-4": {
  30. "Hyperf\\Command\\": "src/"
  31. }
  32. },
  33. "autoload-dev": {
  34. "psr-4": {
  35. "HyperfTest\\Command\\": "tests/"
  36. }
  37. },
  38. "config": {
  39. "sort-packages": true
  40. },
  41. "extra": {
  42. "branch-alias": {
  43. "dev-master": "3.1-dev"
  44. },
  45. "hyperf": {
  46. "config": "Hyperf\\Command\\ConfigProvider"
  47. }
  48. }
  49. }