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.

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