composer.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "name": "lmz/hyperf-mongodb",
  3. "description": "A mongodb component for hyperf.",
  4. "license": "MIT",
  5. "keywords": [
  6. "php",
  7. "hyperf",
  8. "mongodb",
  9. "pool"
  10. ],
  11. "support": {
  12. },
  13. "require": {
  14. "php": ">=7.3",
  15. "hyperf/contract": "~2.2.0",
  16. "hyperf/pool": "~2.2.0",
  17. "hyperf/utils": "~2.2.0",
  18. "mongodb/mongodb": "^1.5"
  19. },
  20. "suggest": {
  21. "hyperf/di": "Create the MongodbPool via dependency injection."
  22. },
  23. "autoload": {
  24. "psr-4": {
  25. "Hyperf\\Mongodb\\": "src/"
  26. }
  27. },
  28. "autoload-dev": {
  29. "psr-4": {
  30. "HyperfTest\\Mongodb\\": "tests/"
  31. }
  32. },
  33. "config": {
  34. "sort-packages": true
  35. },
  36. "extra": {
  37. "branch-alias": {
  38. "dev-master": "2.2-dev"
  39. },
  40. "hyperf": {
  41. "config": "Hyperf\\Mongodb\\ConfigProvider"
  42. }
  43. },
  44. "bin": [
  45. ],
  46. "scripts": {
  47. "cs-fix": "php-cs-fixer fix $1",
  48. "test": "phpunit --colors=always"
  49. }
  50. }