composer.json 1.5 KB

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