composer.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "name": "hyperf/config",
  3. "description": "An independent component that provides configuration container.",
  4. "license": "MIT",
  5. "keywords": [
  6. "php",
  7. "swoole",
  8. "hyperf",
  9. "config",
  10. "configuration"
  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. "hyperf/collection": "~3.1.0",
  22. "hyperf/context": "~3.1.0",
  23. "hyperf/contract": "~3.1.0",
  24. "hyperf/support": "~3.1.0",
  25. "psr/container": "^1.0 || ^2.0",
  26. "symfony/finder": "^5.0 || ^6.0 || ^7.0"
  27. },
  28. "suggest": {
  29. "hyperf/context": "Required to use config()",
  30. "hyperf/di": "Allows using @Value annotation",
  31. "hyperf/event": "Allows using @Value annotation",
  32. "hyperf/framework": "Allows using @Value annotation",
  33. "vlucas/phpdotenv": "Allows using enviroment value to override the config"
  34. },
  35. "autoload": {
  36. "psr-4": {
  37. "Hyperf\\Config\\": "src/"
  38. },
  39. "files": [
  40. "./src/Functions.php"
  41. ]
  42. },
  43. "autoload-dev": {
  44. "psr-4": {
  45. "HyperfTest\\Config\\": "tests/"
  46. }
  47. },
  48. "config": {
  49. "sort-packages": true
  50. },
  51. "extra": {
  52. "branch-alias": {
  53. "dev-master": "3.1-dev"
  54. },
  55. "hyperf": {
  56. "config": "Hyperf\\Config\\ConfigProvider"
  57. }
  58. }
  59. }