composer.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. "name": "hyperf/hyperf-skeleton",
  3. "type": "project",
  4. "keywords": [
  5. "php",
  6. "swoole",
  7. "framework",
  8. "hyperf",
  9. "microservice",
  10. "middleware"
  11. ],
  12. "description": "A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.",
  13. "license": "Apache-2.0",
  14. "require": {
  15. "php": ">=8.1",
  16. "death_satan/hyperf-validate": "^3.71",
  17. "doctrine/annotations": "^2.0",
  18. "easyswoole/verifycode": "3.x",
  19. "hyperf/amqp": "^3.1",
  20. "hyperf/async-queue": "^3.1",
  21. "hyperf/cache": "~3.1.0",
  22. "hyperf/command": "^3.1",
  23. "hyperf/config": "~3.1.0",
  24. "hyperf/config-nacos": "^3.1",
  25. "hyperf/constants": "^3.1",
  26. "hyperf/database": "~3.1.0",
  27. "hyperf/db-connection": "~3.1.0",
  28. "hyperf/di": "^3.1",
  29. "hyperf/engine": "^2.10",
  30. "hyperf/framework": "~3.1.0",
  31. "hyperf/guzzle": "~3.1.0",
  32. "hyperf/http-server": "~3.1.0",
  33. "hyperf/json-rpc": "*",
  34. "hyperf/logger": "^3.1",
  35. "hyperf/memory": "~3.1.0",
  36. "hyperf/nacos": "^3.1",
  37. "hyperf/process": "~3.1.0",
  38. "hyperf/redis": "^3.1",
  39. "hyperf/rpc-client": "^3.1",
  40. "hyperf/rpc-server": "*",
  41. "hyperf/service-governance": "^3.1",
  42. "hyperf/service-governance-consul": "^3.1",
  43. "hyperf/service-governance-nacos": "^3.1",
  44. "hyperf/snowflake": "^3.1",
  45. "hyperf/translation": "^3.1",
  46. "hyperf/validation": "^3.1",
  47. "hyperf/websocket-server": "^3.1",
  48. "phper666/jwt-auth": "^4.0"
  49. },
  50. "require-dev": {
  51. "friendsofphp/php-cs-fixer": "^3.0",
  52. "hyperf/devtool": "~3.1.0",
  53. "hyperf/testing": "~3.1.0",
  54. "hyperf/watcher": "^3.1",
  55. "mockery/mockery": "^1.0",
  56. "phpstan/phpstan": "^1.0",
  57. "swoole/ide-helper": "^5.0",
  58. "zx/php-tools": "^0.0.1"
  59. },
  60. "suggest": {
  61. "ext-openssl": "Required to use HTTPS.",
  62. "ext-json": "Required to use JSON.",
  63. "ext-pdo": "Required to use MySQL Client.",
  64. "ext-pdo_mysql": "Required to use MySQL Client.",
  65. "ext-redis": "Required to use Redis Client."
  66. },
  67. "autoload": {
  68. "psr-4": {
  69. "App\\": "app/"
  70. },
  71. "files": []
  72. },
  73. "autoload-dev": {
  74. "psr-4": {
  75. "HyperfTest\\": "./test/"
  76. }
  77. },
  78. "minimum-stability": "dev",
  79. "prefer-stable": true,
  80. "config": {
  81. "optimize-autoloader": true,
  82. "sort-packages": true
  83. },
  84. "extra": [],
  85. "scripts": {
  86. "post-root-package-install": [
  87. "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  88. ],
  89. "post-autoload-dump": [
  90. "rm -rf runtime/container"
  91. ],
  92. "test": "co-phpunit --prepend test/bootstrap.php --colors=always",
  93. "cs-fix": "php-cs-fixer fix $1",
  94. "analyse": "phpstan analyse --memory-limit 300M",
  95. "start": [
  96. "Composer\\Config::disableProcessTimeout",
  97. "php ./bin/hyperf.php start"
  98. ]
  99. }
  100. }