composer.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "hyperf/server",
  3. "description": "A base server library for Hyperf.",
  4. "license": "MIT",
  5. "keywords": [
  6. "php",
  7. "swoole",
  8. "hyperf",
  9. "server"
  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. "psr/container": "^1.0",
  21. "psr/log": "^1.0",
  22. "psr/event-dispatcher": "^1.0",
  23. "symfony/console": "^5.0",
  24. "hyperf/contract": "~2.0.0",
  25. "hyperf/utils": "~2.0.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/framework": "Dump the info after server start.",
  35. "hyperf/event": "Dump the info after server start."
  36. },
  37. "autoload": {
  38. "psr-4": {
  39. "Hyperf\\Server\\": "src/"
  40. }
  41. },
  42. "autoload-dev": {
  43. "psr-4": {
  44. "HyperfTest\\Server\\": "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\\Server\\ConfigProvider"
  56. }
  57. },
  58. "bin": [
  59. ],
  60. "scripts": {
  61. "cs-fix": "php-cs-fixer fix $1",
  62. "test": "phpunit --colors=always"
  63. }
  64. }