composer.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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.2",
  16. "alibabacloud/dysmsapi-20170525": "3.0.0",
  17. "hyperf/async-queue": "^3.1",
  18. "hyperf/cache": "~3.1.0",
  19. "hyperf/command": "~3.1.0",
  20. "hyperf/config": "~3.1.0",
  21. "hyperf/constants": "^3.1",
  22. "hyperf/crontab": "^3.1",
  23. "hyperf/database": "~3.1.0",
  24. "hyperf/db-connection": "~3.1.0",
  25. "hyperf/engine": "^2.10",
  26. "hyperf/framework": "~3.1.0",
  27. "hyperf/guzzle": "~3.1.0",
  28. "hyperf/http-server": "~3.1.0",
  29. "hyperf/json-rpc": "~3.1.0",
  30. "hyperf/logger": "~3.1.0",
  31. "hyperf/memory": "~3.1.0",
  32. "hyperf/process": "~3.1.0",
  33. "hyperf/redis": "~3.1.0",
  34. "hyperf/rpc": "~3.1.0",
  35. "hyperf/rpc-client": "~3.1.0",
  36. "hyperf/rpc-server": "~3.1.0",
  37. "hyperf/service-governance": "~3.1.0",
  38. "hyperf/validation": "^3.1",
  39. "pengxuxu/hyperf-easywechat6": "^1.0",
  40. "simps/mqtt": "^1.4",
  41. "w7corp/easywechat": "^6.7"
  42. },
  43. "require-dev": {
  44. "friendsofphp/php-cs-fixer": "^3.0",
  45. "hyperf/devtool": "~3.1.0",
  46. "hyperf/testing": "~3.1.0",
  47. "mockery/mockery": "^1.0",
  48. "phpstan/phpstan": "^1.0",
  49. "swoole/ide-helper": "^5.0"
  50. },
  51. "suggest": {
  52. "ext-openssl": "Required to use HTTPS.",
  53. "ext-json": "Required to use JSON.",
  54. "ext-pdo": "Required to use MySQL Client.",
  55. "ext-pdo_mysql": "Required to use MySQL Client.",
  56. "ext-redis": "Required to use Redis Client."
  57. },
  58. "autoload": {
  59. "psr-4": {
  60. "App\\": "app/"
  61. },
  62. "files": [
  63. "app/Master/Framework/Helper/common.php"
  64. ]
  65. },
  66. "autoload-dev": {
  67. "psr-4": {
  68. "HyperfTest\\": "./test/"
  69. }
  70. },
  71. "minimum-stability": "dev",
  72. "prefer-stable": true,
  73. "config": {
  74. "optimize-autoloader": true,
  75. "sort-packages": true
  76. },
  77. "extra": [],
  78. "scripts": {
  79. "post-root-package-install": [
  80. "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  81. ],
  82. "post-autoload-dump": [
  83. "rm -rf runtime/container"
  84. ],
  85. "test": "co-phpunit --prepend test/bootstrap.php -c phpunit.xml --colors=always",
  86. "cs-fix": "php-cs-fixer fix $1",
  87. "analyse": "phpstan analyse --memory-limit 300M -l 0 -c phpstan.neon ./app ./config",
  88. "start": [
  89. "Composer\\Config::disableProcessTimeout",
  90. "php ./bin/hyperf.php start"
  91. ]
  92. }
  93. }