composer.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "name": "hyperf/di",
  3. "description": "A DI for Hyperf.",
  4. "license": "MIT",
  5. "keywords": [
  6. "php",
  7. "swoole",
  8. "hyperf",
  9. "di",
  10. "annotation"
  11. ],
  12. "homepage": "https://hyperf.io",
  13. "support": {
  14. "docs": "https://hyperf.wiki",
  15. "issues": "https://github.com/hyperf/hyperf/issues",
  16. "pull-request": "https://github.com/hyperf/hyperf/pulls",
  17. "source": "https://github.com/hyperf/hyperf"
  18. },
  19. "require": {
  20. "php": ">=8.1",
  21. "doctrine/instantiator": "^1.0",
  22. "hyperf/code-parser": "~3.1.0",
  23. "hyperf/pipeline": "~3.1.0",
  24. "hyperf/stdlib": "~3.1.0",
  25. "hyperf/support": "~3.1.0",
  26. "nikic/php-parser": "^4.1",
  27. "php-di/phpdoc-reader": "^2.2",
  28. "psr/container": "^1.0|^2.0",
  29. "symfony/finder": "^5.0|^6.0|^7.0",
  30. "vlucas/phpdotenv": "^5.0"
  31. },
  32. "suggest": {
  33. "hyperf/config": "Require this component for annotation scan progress to retrieve the scan path.",
  34. "ext-pcntl": "Required to scan annotations."
  35. },
  36. "autoload": {
  37. "psr-4": {
  38. "Hyperf\\Di\\": "src/"
  39. }
  40. },
  41. "autoload-dev": {
  42. "psr-4": {
  43. "HyperfTest\\Di\\": "tests/"
  44. }
  45. },
  46. "config": {
  47. "sort-packages": true
  48. },
  49. "extra": {
  50. "branch-alias": {
  51. "dev-master": "3.1-dev"
  52. },
  53. "hyperf": {
  54. "config": "Hyperf\\Di\\ConfigProvider"
  55. }
  56. }
  57. }