composer.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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/contract": "~2.0.0"
  22. },
  23. "require-dev": {
  24. "symfony/var-dumper": "^5.0",
  25. "symfony/property-access": "^5.0",
  26. "symfony/serializer": "^5.0",
  27. "malukenho/docheader": "^0.1.6",
  28. "mockery/mockery": "^1.0",
  29. "phpunit/phpunit": "^7.0.0",
  30. "friendsofphp/php-cs-fixer": "^2.9"
  31. },
  32. "suggest": {
  33. "ext-swoole": "Required to use methods related to swoole (>=4.5).",
  34. "symfony/var-dumper": "Required to use the dd function (^5.0).",
  35. "symfony/serializer": "Required to use SymfonyNormalizer (^5.0)",
  36. "symfony/property-access": "Required to use SymfonyNormalizer (^5.0)",
  37. "hyperf/di": "Required to use ExceptionNormalizer"
  38. },
  39. "autoload": {
  40. "files": [
  41. "src/Functions.php"
  42. ],
  43. "psr-4": {
  44. "Hyperf\\Utils\\": "src/"
  45. }
  46. },
  47. "autoload-dev": {
  48. "psr-4": {
  49. "HyperfTest\\Utils\\": "tests/"
  50. }
  51. },
  52. "config": {
  53. "sort-packages": true
  54. },
  55. "extra": {
  56. "hyperf": {
  57. "config": "Hyperf\\Utils\\ConfigProvider"
  58. },
  59. "branch-alias": {
  60. "dev-master": "2.0-dev"
  61. }
  62. },
  63. "bin": [
  64. ],
  65. "scripts": {
  66. "cs-fix": "php-cs-fixer fix $1",
  67. "test": "phpunit --colors=always"
  68. }
  69. }