You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
2.9 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  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": ">=7.2",
  16. "ext-swoole": ">=4.5",
  17. "hyperf/cache": "~2.0.0",
  18. "hyperf/command": "~2.0.0",
  19. "hyperf/config": "~2.0.0",
  20. "hyperf/db-connection": "~2.0.0",
  21. "hyperf/framework": "~2.0.0",
  22. "hyperf/guzzle": "^2.0",
  23. "hyperf/http-server": "~2.0.0",
  24. "hyperf/logger": "~2.0.0",
  25. "hyperf/memory": "~2.0.0",
  26. "hyperf/process": "~2.0.0",
  27. "hyperf/redis": "~2.0.0",
  28. "hyperf/constants": "~2.0.0",
  29. "hyperf/model-cache": "~2.0.0",
  30. "hyperf/filesystem": "^2.0",
  31. "xxtime/flysystem-aliyun-oss": "^1.5",
  32. "hyperf/validation": "^2.0",
  33. "hyperf/task": "^2.0",
  34. "hyperf/paginator": "^2.0",
  35. "hyperf/amqp": "^2.0",
  36. "alibabacloud/iot": "^1.8",
  37. "hyperf/snowflake": "^2.0",
  38. "ext-bcmath": "*",
  39. "overtrue/wechat": "~4.0",
  40. "hyperf/json-rpc": "^2.0",
  41. "hyperf/rpc-server": "^2.0",
  42. "hyperf/rpc-client": "^2.0",
  43. "hyperf/consul": "^2.0",
  44. "alibabacloud/client": "^1.5",
  45. "hashids/hashids": "^4.0",
  46. "hyperf/crontab": "^2.0"
  47. },
  48. "require-dev": {
  49. "swoole/ide-helper": "^4.5",
  50. "friendsofphp/php-cs-fixer": "^2.14",
  51. "mockery/mockery": "^1.0",
  52. "doctrine/common": "^2.9",
  53. "phpstan/phpstan": "^0.12",
  54. "hyperf/devtool": "~2.0.0",
  55. "hyperf/testing": "~2.0.0"
  56. },
  57. "suggest": {
  58. "ext-openssl": "Required to use HTTPS.",
  59. "ext-json": "Required to use JSON.",
  60. "ext-pdo": "Required to use MySQL Client.",
  61. "ext-pdo_mysql": "Required to use MySQL Client.",
  62. "ext-redis": "Required to use Redis Client."
  63. },
  64. "autoload": {
  65. "psr-4": {
  66. "App\\": "app/"
  67. },
  68. "files": []
  69. },
  70. "autoload-dev": {
  71. "psr-4": {
  72. "HyperfTest\\": "./test/"
  73. }
  74. },
  75. "minimum-stability": "dev",
  76. "prefer-stable": true,
  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 -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": "php ./bin/hyperf.php start"
  89. },
  90. "repositories": {
  91. "packagist": {
  92. "type": "composer",
  93. "url": "https://mirrors.aliyun.com/composer/"
  94. }
  95. }
  96. }