composer.json 1.7 KB

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