composer.json 1.7 KB

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