composer.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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.27",
  16. "aws/aws-sdk-php": "^3.336",
  17. "death_satan/hyperf-validate": "^3.71",
  18. "doctrine/annotations": "^2.0",
  19. "easyswoole/verifycode": "3.x",
  20. "friendsofhyperf/openai-client": "^3.1",
  21. "hyperf/amqp": "^3.1",
  22. "hyperf/async-queue": "^3.1",
  23. "hyperf/cache": "~3.1.0",
  24. "hyperf/command": "^3.1",
  25. "hyperf/config": "~3.1.0",
  26. "hyperf/config-nacos": "^3.1",
  27. "hyperf/constants": "^3.1",
  28. "hyperf/database": "~3.1.0",
  29. "hyperf/db-connection": "~3.1.0",
  30. "hyperf/di": "^3.1",
  31. "hyperf/engine": "^2.10",
  32. "hyperf/framework": "~3.1.0",
  33. "hyperf/guzzle": "~3.1.0",
  34. "hyperf/http-server": "~3.1.0",
  35. "hyperf/json-rpc": "*",
  36. "hyperf/logger": "^3.1",
  37. "hyperf/memory": "~3.1.0",
  38. "hyperf/nacos": "^3.1",
  39. "hyperf/process": "~3.1.0",
  40. "hyperf/redis": "^3.1",
  41. "hyperf/rpc-client": "^3.1",
  42. "hyperf/rpc-server": "*",
  43. "hyperf/service-governance": "^3.1",
  44. "hyperf/service-governance-consul": "^3.1",
  45. "hyperf/service-governance-nacos": "^3.1",
  46. "hyperf/snowflake": "^3.1",
  47. "hyperf/task": "^3.1",
  48. "hyperf/translation": "^3.1",
  49. "hyperf/validation": "^3.1",
  50. "hyperf/view": "~3.1.0",
  51. "hyperf/view-engine": "^3.1",
  52. "hyperf/websocket-server": "^3.1",
  53. "openai-php/client": "^0.10.3",
  54. "phper666/jwt-auth": "^4.0",
  55. "smarty/smarty": "~4.3.0"
  56. },
  57. "require-dev": {
  58. "hyperf/devtool": "~3.1.0",
  59. "hyperf/testing": "~3.1.0",
  60. "hyperf/watcher": "^3.1",
  61. "mockery/mockery": "^1.0",
  62. "phpstan/phpstan": "^1.0",
  63. "swoole/ide-helper": "^5.0",
  64. "zx/php-tools": "^0.0.1"
  65. },
  66. "suggest": {
  67. "ext-openssl": "Required to use HTTPS.",
  68. "ext-json": "Required to use JSON.",
  69. "ext-pdo": "Required to use MySQL Client.",
  70. "ext-pdo_mysql": "Required to use MySQL Client.",
  71. "ext-redis": "Required to use Redis Client."
  72. },
  73. "autoload": {
  74. "psr-4": {
  75. "App\\": "app/"
  76. },
  77. "files": []
  78. },
  79. "autoload-dev": {
  80. "psr-4": {
  81. "HyperfTest\\": "./test/"
  82. }
  83. },
  84. "minimum-stability": "dev",
  85. "prefer-stable": true,
  86. "config": {
  87. "optimize-autoloader": true,
  88. "sort-packages": true,
  89. "allow-plugins": {
  90. "php-http/discovery": true
  91. },
  92. "platform": {
  93. "php": "8.1.27"
  94. }
  95. },
  96. "extra": [],
  97. "scripts": {
  98. "post-root-package-install": [
  99. "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  100. ],
  101. "post-autoload-dump": [
  102. "rm -rf runtime/container"
  103. ],
  104. "test": "co-phpunit --prepend test/bootstrap.php --colors=always",
  105. "cs-fix": "php-cs-fixer fix $1",
  106. "analyse": "phpstan analyse --memory-limit 300M",
  107. "start": [
  108. "Composer\\Config::disableProcessTimeout",
  109. "php ./bin/hyperf.php start"
  110. ]
  111. },
  112. "repositories": {
  113. "packagist": {
  114. "type": "composer",
  115. "url": "https://mirrors.aliyun.com/composer/"
  116. }
  117. }
  118. }