composer.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. "issues": "https://github.com/hyperf/hyperf/issues",
  15. "source": "https://github.com/hyperf/hyperf",
  16. "docs": "https://hyperf.wiki",
  17. "pull-request": "https://github.com/hyperf/hyperf/pulls"
  18. },
  19. "require": {
  20. "php": ">=8.1",
  21. "doctrine/instantiator": "^1.0",
  22. "hyperf/code-parser": "~3.1.0",
  23. "hyperf/collection": "~3.1.0",
  24. "hyperf/context": "~3.1.0",
  25. "hyperf/contract": "~3.1.0",
  26. "hyperf/coroutine": "~3.1.0",
  27. "hyperf/pipeline": "~3.1.0",
  28. "hyperf/stdlib": "~3.1.0",
  29. "hyperf/stringable": "~3.1.0",
  30. "hyperf/support": "~3.1.0",
  31. "nikic/php-parser": "^4.1",
  32. "php-di/phpdoc-reader": "^2.2",
  33. "psr/container": "^1.0 || ^2.0",
  34. "symfony/finder": "^5.0 || ^6.0 || ^7.0",
  35. "vlucas/phpdotenv": "^5.0"
  36. },
  37. "suggest": {
  38. "ext-pcntl": "Required to scan annotations.",
  39. "hyperf/config": "Require this component for annotation scan progress to retrieve the scan path."
  40. },
  41. "autoload": {
  42. "psr-4": {
  43. "Hyperf\\Di\\": "src/"
  44. }
  45. },
  46. "autoload-dev": {
  47. "psr-4": {
  48. "HyperfTest\\Di\\": "tests/"
  49. }
  50. },
  51. "config": {
  52. "sort-packages": true
  53. },
  54. "extra": {
  55. "branch-alias": {
  56. "dev-master": "3.1-dev"
  57. },
  58. "hyperf": {
  59. "config": "Hyperf\\Di\\ConfigProvider"
  60. }
  61. }
  62. }