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.

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