composer.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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": ">=7.2",
  21. "doctrine/annotations": "^1.6",
  22. "doctrine/instantiator": "^1.0",
  23. "nikic/php-parser": "^4.1",
  24. "psr/container": "^1.0",
  25. "roave/better-reflection": "^4.0",
  26. "symfony/finder": "^5.0"
  27. },
  28. "require-dev": {
  29. "malukenho/docheader": "^0.1.6",
  30. "mockery/mockery": "^1.0",
  31. "phpunit/phpunit": "^7.0.0",
  32. "friendsofphp/php-cs-fixer": "^2.9"
  33. },
  34. "suggest": {
  35. "hyperf/config": "Require this component for annotation scan progress to retrieve the scan path."
  36. },
  37. "autoload": {
  38. "files": [
  39. "src/Functions.php"
  40. ],
  41. "psr-4": {
  42. "Hyperf\\Di\\": "src/"
  43. }
  44. },
  45. "autoload-dev": {
  46. "psr-4": {
  47. "HyperfTest\\Di\\": "tests/"
  48. }
  49. },
  50. "config": {
  51. "sort-packages": true
  52. },
  53. "extra": {
  54. "branch-alias": {
  55. "dev-master": "2.0-dev"
  56. },
  57. "hyperf": {
  58. "config": "Hyperf\\Di\\ConfigProvider"
  59. }
  60. },
  61. "bin": [],
  62. "scripts": {
  63. "cs-fix": "php-cs-fixer fix $1",
  64. "test": "phpunit --colors=always"
  65. }
  66. }