composer.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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.2",
  17. "hyperf/command": "~1.1.0",
  18. "hyperf/config": "~1.1.0",
  19. "hyperf/contract": "~1.1.0",
  20. "hyperf/database": "~1.1.0",
  21. "hyperf/db-connection": "~1.1.0",
  22. "hyperf/di": "~1.1.0",
  23. "hyperf/dispatcher": "~1.1.0",
  24. "hyperf/event": "~1.1.0",
  25. "hyperf/exception-handler": "~1.1.0",
  26. "hyperf/framework": "~1.1.0",
  27. "hyperf/http-server": "~1.1.0",
  28. "hyperf/logger": "~1.1.0",
  29. "hyperf/paginator": "~1.1.0",
  30. "hyperf/pool": "~1.1.0",
  31. "hyperf/utils": "~1.1.0",
  32. "hyperf/view": "~1.1.0",
  33. "duncan3dc/blade": "^4.6",
  34. "hyperf/task": "~1.1.0"
  35. },
  36. "require-dev": {
  37. "swoft/swoole-ide-helper": "^4.2",
  38. "phpmd/phpmd": "^2.6",
  39. "friendsofphp/php-cs-fixer": "^2.14",
  40. "mockery/mockery": "^1.0",
  41. "doctrine/common": "^2.9",
  42. "phpstan/phpstan": "^0.11.2",
  43. "hyperf/testing": "~1.1.0"
  44. },
  45. "suggest": {
  46. "ext-openssl": "Required to use HTTPS.",
  47. "ext-json": "Required to use JSON.",
  48. "ext-pdo": "Required to use MySQL Client.",
  49. "ext-pdo_mysql": "Required to use MySQL Client.",
  50. "ext-redis": "Required to use Redis Client."
  51. },
  52. "autoload": {
  53. "psr-4": {
  54. "App\\": "app/"
  55. },
  56. "files": []
  57. },
  58. "autoload-dev": {
  59. "psr-4": {
  60. "HyperfTest\\": "./test/"
  61. }
  62. },
  63. "minimum-stability": "dev",
  64. "prefer-stable": true,
  65. "extra": [],
  66. "scripts": {
  67. "post-root-package-install": [
  68. "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  69. ],
  70. "test": "co-phpunit -c phpunit.xml --colors=always",
  71. "cs-fix": "php-cs-fixer fix $1",
  72. "analyze": "phpstan analyse --memory-limit 300M -l 0 -c phpstan.neon ./app ./config",
  73. "start": "php ./bin/hyperf.php start"
  74. },
  75. "repositories": {
  76. "packagist": {
  77. "type": "composer",
  78. "url": "https://mirrors.aliyun.com/composer"
  79. }
  80. }
  81. }