composer.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "hyperf/cache",
  3. "description": "A cache component for hyperf.",
  4. "license": "MIT",
  5. "keywords": [
  6. "php",
  7. "hyperf",
  8. "cache"
  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. "psr/container": "^1.0",
  20. "psr/simple-cache": "^1.0",
  21. "hyperf/contract": "~2.0.0",
  22. "hyperf/utils": "~2.0.0"
  23. },
  24. "require-dev": {
  25. "hyperf/di": "~2.0.0",
  26. "hyperf/event": "~2.0.0",
  27. "malukenho/docheader": "^0.1.6",
  28. "mockery/mockery": "^1.0",
  29. "phpunit/phpunit": "^7.0.0",
  30. "friendsofphp/php-cs-fixer": "^2.9"
  31. },
  32. "suggest": {
  33. "hyperf/di": "Use cache annotations.",
  34. "hyperf/event": "Use listener to delete annotation cache."
  35. },
  36. "autoload": {
  37. "psr-4": {
  38. "Hyperf\\Cache\\": "src/"
  39. }
  40. },
  41. "autoload-dev": {
  42. "psr-4": {
  43. "HyperfTest\\Cache\\": "tests/"
  44. }
  45. },
  46. "config": {
  47. "sort-packages": true
  48. },
  49. "extra": {
  50. "branch-alias": {
  51. "dev-master": "2.0-dev"
  52. },
  53. "hyperf": {
  54. "config": "Hyperf\\Cache\\ConfigProvider"
  55. }
  56. },
  57. "bin": [
  58. ],
  59. "scripts": {
  60. "cs-fix": "php-cs-fixer fix $1",
  61. "test": "phpunit --colors=always"
  62. }
  63. }