composer.json 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. "nashgao/mqtt": "^0.1.3",
  40. "pengxuxu/hyperf-easywechat6": "^1.0",
  41. "simps/mqtt": "^1.4",
  42. "twilio/sdk": "^8.2",
  43. "w7corp/easywechat": "^6.7"
  44. },
  45. "require-dev": {
  46. "friendsofphp/php-cs-fixer": "^3.0",
  47. "hyperf/devtool": "~3.1.0",
  48. "hyperf/testing": "~3.1.0",
  49. "mockery/mockery": "^1.0",
  50. "phpstan/phpstan": "^1.0",
  51. "swoole/ide-helper": "^5.0"
  52. },
  53. "suggest": {
  54. "ext-openssl": "Required to use HTTPS.",
  55. "ext-json": "Required to use JSON.",
  56. "ext-pdo": "Required to use MySQL Client.",
  57. "ext-pdo_mysql": "Required to use MySQL Client.",
  58. "ext-redis": "Required to use Redis Client."
  59. },
  60. "autoload": {
  61. "psr-4": {
  62. "App\\": "app/"
  63. },
  64. "files": [
  65. "app/Master/Framework/Helper/common.php"
  66. ]
  67. },
  68. "autoload-dev": {
  69. "psr-4": {
  70. "HyperfTest\\": "./test/"
  71. }
  72. },
  73. "minimum-stability": "dev",
  74. "prefer-stable": true,
  75. "config": {
  76. "optimize-autoloader": true,
  77. "sort-packages": true
  78. },
  79. "extra": [],
  80. "scripts": {
  81. "post-root-package-install": [
  82. "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  83. ],
  84. "post-autoload-dump": [
  85. "rm -rf runtime/container"
  86. ],
  87. "test": "co-phpunit --prepend test/bootstrap.php -c phpunit.xml --colors=always",
  88. "cs-fix": "php-cs-fixer fix $1",
  89. "analyse": "phpstan analyse --memory-limit 300M -l 0 -c phpstan.neon ./app ./config",
  90. "start": [
  91. "Composer\\Config::disableProcessTimeout",
  92. "php ./bin/hyperf.php start"
  93. ]
  94. }
  95. }