composer.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "hyperf/validation",
  3. "type": "library",
  4. "license": "MIT",
  5. "keywords": [
  6. "validation",
  7. "hyperf"
  8. ],
  9. "description": "hyperf validation",
  10. "autoload": {
  11. "psr-4": {
  12. "Hyperf\\Validation\\": "src/"
  13. }
  14. },
  15. "autoload-dev": {
  16. "psr-4": {
  17. "HyperfTest\\Validation\\": "tests"
  18. }
  19. },
  20. "require": {
  21. "php": ">=8.1",
  22. "egulias/email-validator": "^3.0",
  23. "hyperf/collection": "~3.1.0",
  24. "hyperf/conditionable": "~3.1.0",
  25. "hyperf/contract": "~3.1.0",
  26. "hyperf/di": "~3.1.0",
  27. "hyperf/framework": "~3.1.0",
  28. "hyperf/macroable": "~3.1.0",
  29. "hyperf/tappable": "~3.1.0",
  30. "hyperf/translation": "~3.1.0",
  31. "hyperf/stringable": "~3.1.0",
  32. "hyperf/support": "~3.1.0",
  33. "hyperf/utils": "~3.1.0",
  34. "nesbot/carbon": "^2.21",
  35. "psr/container": "^1.0|^2.0",
  36. "psr/event-dispatcher": "^1.0",
  37. "psr/http-message": "^1.0|^2.0"
  38. },
  39. "suggest": {
  40. "hyperf/database": "Required if you want to use the database validation rule (~3.1.0).",
  41. "hyperf/http-server": "Required if you want to use the request validation rule (~3.1.0)."
  42. },
  43. "config": {
  44. "sort-packages": true
  45. },
  46. "extra": {
  47. "branch-alias": {
  48. "dev-master": "3.1-dev"
  49. },
  50. "hyperf": {
  51. "config": "Hyperf\\Validation\\ConfigProvider"
  52. }
  53. }
  54. }