composer.json 1.4 KB

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