composer.json 1.6 KB

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