composer.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "name": "hyperf/command",
  3. "type": "library",
  4. "license": "MIT",
  5. "keywords": [
  6. "php",
  7. "swoole",
  8. "command"
  9. ],
  10. "description": "Command for hyperf",
  11. "autoload": {
  12. "psr-4": {
  13. "Hyperf\\Command\\": "src/"
  14. }
  15. },
  16. "autoload-dev": {
  17. "psr-4": {
  18. "HyperfTest\\Command\\": "tests/"
  19. }
  20. },
  21. "require": {
  22. "php": ">=7.2",
  23. "hyperf/utils": "~2.0.0",
  24. "psr/event-dispatcher": "^1.0",
  25. "symfony/console": "^5.0"
  26. },
  27. "require-dev": {
  28. "malukenho/docheader": "^0.1.6",
  29. "mockery/mockery": "^1.0",
  30. "phpunit/phpunit": "^7.0.0",
  31. "friendsofphp/php-cs-fixer": "^2.9"
  32. },
  33. "suggest": {
  34. "hyperf/di": "Required to use annotations."
  35. },
  36. "config": {
  37. "sort-packages": true
  38. },
  39. "extra": {
  40. "branch-alias": {
  41. "dev-master": "2.0-dev"
  42. }
  43. },
  44. "scripts": {
  45. "test": "./vendor/bin/phpunit -c phpunit.xml",
  46. "co_test": "php tests/co_phpunit.php -c phpunit.xml"
  47. }
  48. }