composer.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "name": "hyperf/config-apollo",
  3. "description": "An apollo adapter for Hyperf config component.",
  4. "license": "MIT",
  5. "keywords": [
  6. "php",
  7. "swoole",
  8. "hyperf",
  9. "config",
  10. "configuration",
  11. "apollo"
  12. ],
  13. "homepage": "https://hyperf.io",
  14. "support": {
  15. "docs": "https://hyperf.wiki",
  16. "issues": "https://github.com/hyperf/hyperf/issues",
  17. "pull-request": "https://github.com/hyperf/hyperf/pulls",
  18. "source": "https://github.com/hyperf/hyperf"
  19. },
  20. "require": {
  21. "php": ">=7.2",
  22. "psr/container": "^1.0",
  23. "hyperf/contract": "~2.0.0",
  24. "hyperf/utils": "~2.0.0"
  25. },
  26. "require-dev": {
  27. "hyperf/config": "~2.0.0",
  28. "hyperf/event": "~2.0.0",
  29. "hyperf/framework": "~2.0.0",
  30. "hyperf/process": "~2.0.0",
  31. "malukenho/docheader": "^0.1.6",
  32. "mockery/mockery": "^1.0",
  33. "phpunit/phpunit": "^7.0.0",
  34. "friendsofphp/php-cs-fixer": "^2.9"
  35. },
  36. "suggest": {
  37. "hyperf/process": "Use hyperf process to run ConfigFetcherProcess."
  38. },
  39. "autoload": {
  40. "psr-4": {
  41. "Hyperf\\ConfigApollo\\": "src/"
  42. }
  43. },
  44. "autoload-dev": {
  45. "psr-4": {
  46. "HyperfTest\\ConfigApollo\\": "tests/"
  47. }
  48. },
  49. "config": {
  50. "sort-packages": true
  51. },
  52. "extra": {
  53. "branch-alias": {
  54. "dev-master": "2.0-dev"
  55. },
  56. "hyperf": {
  57. "config": "Hyperf\\ConfigApollo\\ConfigProvider"
  58. }
  59. },
  60. "bin": [
  61. ],
  62. "scripts": {
  63. "cs-fix": "php-cs-fixer fix $1",
  64. "test": "phpunit --colors=always"
  65. }
  66. }