composer.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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. "friendsofhyperf/openai-client": "^3.1",
  20. "hyperf/amqp": "^3.1",
  21. "hyperf/async-queue": "^3.1",
  22. "hyperf/cache": "~3.1.0",
  23. "hyperf/command": "^3.1",
  24. "hyperf/config": "~3.1.0",
  25. "hyperf/config-nacos": "^3.1",
  26. "hyperf/constants": "^3.1",
  27. "hyperf/database": "~3.1.0",
  28. "hyperf/db-connection": "~3.1.0",
  29. "hyperf/di": "^3.1",
  30. "hyperf/engine": "^2.10",
  31. "hyperf/framework": "~3.1.0",
  32. "hyperf/guzzle": "~3.1.0",
  33. "hyperf/http-server": "~3.1.0",
  34. "hyperf/json-rpc": "*",
  35. "hyperf/logger": "^3.1",
  36. "hyperf/memory": "~3.1.0",
  37. "hyperf/nacos": "^3.1",
  38. "hyperf/paginator": "^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/translation": "^3.1",
  48. "hyperf/validation": "^3.1",
  49. "hyperf/websocket-server": "^3.1",
  50. "openai-php/client": "^0.10.3",
  51. "phper666/jwt-auth": "^4.0"
  52. },
  53. "require-dev": {
  54. "friendsofphp/php-cs-fixer": "^3.0",
  55. "hyperf/devtool": "~3.1.0",
  56. "hyperf/testing": "~3.1.0",
  57. "hyperf/watcher": "^3.1",
  58. "mockery/mockery": "^1.0",
  59. "phpstan/phpstan": "^1.0",
  60. "swoole/ide-helper": "^5.0",
  61. "zx/php-tools": "^0.0.1"
  62. },
  63. "suggest": {
  64. "ext-openssl": "Required to use HTTPS.",
  65. "ext-json": "Required to use JSON.",
  66. "ext-pdo": "Required to use MySQL Client.",
  67. "ext-pdo_mysql": "Required to use MySQL Client.",
  68. "ext-redis": "Required to use Redis Client."
  69. },
  70. "autoload": {
  71. "psr-4": {
  72. "App\\": "app/"
  73. },
  74. "files": []
  75. },
  76. "autoload-dev": {
  77. "psr-4": {
  78. "HyperfTest\\": "./test/"
  79. }
  80. },
  81. "minimum-stability": "dev",
  82. "prefer-stable": true,
  83. "config": {
  84. "optimize-autoloader": true,
  85. "sort-packages": true,
  86. "allow-plugins": {
  87. "php-http/discovery": true
  88. }
  89. },
  90. "extra": [],
  91. "scripts": {
  92. "post-root-package-install": [
  93. "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  94. ],
  95. "post-autoload-dump": [
  96. "rm -rf runtime/container"
  97. ],
  98. "test": "co-phpunit --prepend test/bootstrap.php --colors=always",
  99. "cs-fix": "php-cs-fixer fix $1",
  100. "analyse": "phpstan analyse --memory-limit 300M",
  101. "start": [
  102. "Composer\\Config::disableProcessTimeout",
  103. "php ./bin/hyperf.php start"
  104. ]
  105. }
  106. }