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.

94 lines
2.9 KiB

6 years ago
6 years ago
6 years ago
6 years ago
6 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. },
  46. "require-dev": {
  47. "swoole/ide-helper": "^4.5",
  48. "friendsofphp/php-cs-fixer": "^2.14",
  49. "mockery/mockery": "^1.0",
  50. "doctrine/common": "^2.9",
  51. "phpstan/phpstan": "^0.12",
  52. "hyperf/devtool": "~2.0.0",
  53. "hyperf/testing": "~2.0.0"
  54. },
  55. "suggest": {
  56. "ext-openssl": "Required to use HTTPS.",
  57. "ext-json": "Required to use JSON.",
  58. "ext-pdo": "Required to use MySQL Client.",
  59. "ext-pdo_mysql": "Required to use MySQL Client.",
  60. "ext-redis": "Required to use Redis Client."
  61. },
  62. "autoload": {
  63. "psr-4": {
  64. "App\\": "app/"
  65. },
  66. "files": []
  67. },
  68. "autoload-dev": {
  69. "psr-4": {
  70. "HyperfTest\\": "./test/"
  71. }
  72. },
  73. "minimum-stability": "dev",
  74. "prefer-stable": true,
  75. "extra": [],
  76. "scripts": {
  77. "post-root-package-install": [
  78. "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  79. ],
  80. "post-autoload-dump": [
  81. "rm -rf runtime/container"
  82. ],
  83. "test": "co-phpunit -c phpunit.xml --colors=always",
  84. "cs-fix": "php-cs-fixer fix $1",
  85. "analyse": "phpstan analyse --memory-limit 300M -l 0 -c phpstan.neon ./app ./config",
  86. "start": "php ./bin/hyperf.php start"
  87. },
  88. "repositories": {
  89. "packagist": {
  90. "type": "composer",
  91. "url": "https://mirrors.aliyun.com/composer/"
  92. }
  93. }
  94. }