composer.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "hyperf/utils",
  3. "description": "A tools package that could help developer solved the problem quickly.",
  4. "license": "MIT",
  5. "keywords": [
  6. "php",
  7. "swoole",
  8. "hyperf",
  9. "utils"
  10. ],
  11. "homepage": "https://hyperf.io",
  12. "support": {
  13. "docs": "https://hyperf.wiki",
  14. "issues": "https://github.com/hyperf/hyperf/issues",
  15. "pull-request": "https://github.com/hyperf/hyperf/pulls",
  16. "source": "https://github.com/hyperf/hyperf"
  17. },
  18. "require": {
  19. "php": ">=7.2",
  20. "doctrine/inflector": "^2.0",
  21. "hyperf/context": "~2.2.0",
  22. "hyperf/contract": "~2.2.0",
  23. "hyperf/engine": "^1.1",
  24. "hyperf/macroable": "~2.2.0"
  25. },
  26. "suggest": {
  27. "ext-swoole": "Required to use methods related to swoole (>=4.5).",
  28. "symfony/var-dumper": "Required to use the dd function (^5.0).",
  29. "symfony/serializer": "Required to use SymfonyNormalizer (^5.0)",
  30. "symfony/property-access": "Required to use SymfonyNormalizer (^5.0)",
  31. "hyperf/di": "Required to use ExceptionNormalizer",
  32. "nikic/php-parser": "Required to use PhpParser. (^4.0)"
  33. },
  34. "autoload": {
  35. "files": [
  36. "src/Functions.php"
  37. ],
  38. "psr-4": {
  39. "Hyperf\\Utils\\": "src/"
  40. }
  41. },
  42. "autoload-dev": {
  43. "psr-4": {
  44. "HyperfTest\\Utils\\": "tests/"
  45. }
  46. },
  47. "config": {
  48. "sort-packages": true
  49. },
  50. "extra": {
  51. "hyperf": {
  52. "config": "Hyperf\\Utils\\ConfigProvider"
  53. },
  54. "branch-alias": {
  55. "dev-master": "2.2-dev"
  56. }
  57. }
  58. }