composer.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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": ">=7.2",
  21. "psr/container": "^1.0",
  22. "vlucas/phpdotenv": "^4.0",
  23. "symfony/finder": "^5.0",
  24. "hyperf/contract": "~2.0.0",
  25. "hyperf/utils": "~2.0.0"
  26. },
  27. "require-dev": {
  28. "hyperf/di": "~2.0.0",
  29. "hyperf/event": "~2.0.0",
  30. "hyperf/framework": "~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. "vlucas/phpdotenv": "Allows using enviroment value to override the config",
  38. "hyperf/di": "Allows using @Value annotation",
  39. "hyperf/event": "Allows using @Value annotation",
  40. "hyperf/framework": "Allows using @Value annotation"
  41. },
  42. "autoload": {
  43. "files": [
  44. "./src/Functions.php"
  45. ],
  46. "psr-4": {
  47. "Hyperf\\Config\\": "src/"
  48. }
  49. },
  50. "autoload-dev": {
  51. "psr-4": {
  52. "HyperfTest\\Config\\": "tests/"
  53. }
  54. },
  55. "config": {
  56. "sort-packages": true
  57. },
  58. "extra": {
  59. "branch-alias": {
  60. "dev-master": "2.0-dev"
  61. },
  62. "hyperf": {
  63. "config": "Hyperf\\Config\\ConfigProvider"
  64. }
  65. },
  66. "bin": [
  67. ],
  68. "scripts": {
  69. "cs-fix": "php-cs-fixer fix $1",
  70. "test": "phpunit --colors=always"
  71. }
  72. }