composer.json 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "name": "zendframework/zend-validator",
  3. "description": "provides a set of commonly needed validators",
  4. "license": "BSD-3-Clause",
  5. "keywords": [
  6. "zf2",
  7. "validator"
  8. ],
  9. "homepage": "https://github.com/zendframework/zend-validator",
  10. "autoload": {
  11. "psr-4": {
  12. "Zend\\Validator\\": "src/"
  13. }
  14. },
  15. "require": {
  16. "php": "^5.6 || ^7.0",
  17. "zendframework/zend-stdlib": "^2.7.6 || ^3.1",
  18. "container-interop/container-interop": "^1.1"
  19. },
  20. "require-dev": {
  21. "phpunit/PHPUnit": "^6.0.8 || ^5.7.15",
  22. "psr/http-message": "^1.0",
  23. "zendframework/zend-cache": "^2.6.1",
  24. "zendframework/zend-coding-standard": "~1.0.0",
  25. "zendframework/zend-config": "^2.6",
  26. "zendframework/zend-db": "^2.7",
  27. "zendframework/zend-filter": "^2.6",
  28. "zendframework/zend-http": "^2.5.4",
  29. "zendframework/zend-i18n": "^2.6",
  30. "zendframework/zend-math": "^2.6",
  31. "zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3",
  32. "zendframework/zend-session": "^2.8",
  33. "zendframework/zend-uri": "^2.5"
  34. },
  35. "suggest": {
  36. "psr/http-message": "psr/http-message, required when validating PSR-7 UploadedFileInterface instances via the Upload and UploadFile validators",
  37. "zendframework/zend-db": "Zend\\Db component, required by the (No)RecordExists validator",
  38. "zendframework/zend-filter": "Zend\\Filter component, required by the Digits validator",
  39. "zendframework/zend-i18n": "Zend\\I18n component to allow translation of validation error messages",
  40. "zendframework/zend-math": "Zend\\Math component, required by the Csrf validator",
  41. "zendframework/zend-i18n-resources": "Translations of validator messages",
  42. "zendframework/zend-servicemanager": "Zend\\ServiceManager component to allow using the ValidatorPluginManager and validator chains",
  43. "zendframework/zend-session": "Zend\\Session component, ^2.8; required by the Csrf validator",
  44. "zendframework/zend-uri": "Zend\\Uri component, required by the Uri and Sitemap\\Loc validators"
  45. },
  46. "minimum-stability": "dev",
  47. "prefer-stable": true,
  48. "extra": {
  49. "branch-alias": {
  50. "dev-master": "2.11.x-dev",
  51. "dev-develop": "2.12.x-dev"
  52. },
  53. "zf": {
  54. "component": "Zend\\Validator",
  55. "config-provider": "Zend\\Validator\\ConfigProvider"
  56. }
  57. },
  58. "autoload-dev": {
  59. "psr-4": {
  60. "ZendTest\\Validator\\": "test/"
  61. }
  62. },
  63. "scripts": {
  64. "check": [
  65. "@cs-check",
  66. "@test"
  67. ],
  68. "cs-check": "phpcs",
  69. "cs-fix": "phpcbf",
  70. "test": "phpunit --colors=always",
  71. "test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
  72. }
  73. }