69 lines
2.3 KiB
JSON
69 lines
2.3 KiB
JSON
|
{
|
||
|
"name": "workerman/validation",
|
||
|
"description": "The most awesome validation engine ever created for PHP. Respect/Validation 汉化版本",
|
||
|
"keywords": ["respect", "validation", "validator"],
|
||
|
"type": "library",
|
||
|
"homepage": "http://respect.github.io/Validation/",
|
||
|
"license": "MIT",
|
||
|
"authors": [
|
||
|
{
|
||
|
"name": "Respect/Validation Contributors",
|
||
|
"homepage": "https://github.com/Respect/Validation/graphs/contributors"
|
||
|
}
|
||
|
],
|
||
|
"config": {
|
||
|
"sort-packages": true
|
||
|
},
|
||
|
"require": {
|
||
|
"php": ">=7.2",
|
||
|
"respect/stringifier": "^0.2.0",
|
||
|
"symfony/polyfill-mbstring": "^1.2"
|
||
|
},
|
||
|
"require-dev": {
|
||
|
"egulias/email-validator": "^2.1",
|
||
|
"malukenho/docheader": "^0.1",
|
||
|
"mikey179/vfsstream": "^1.6",
|
||
|
"phpstan/phpstan": "^0.12",
|
||
|
"phpstan/phpstan-deprecation-rules": "^0.12",
|
||
|
"phpstan/phpstan-phpunit": "^0.12",
|
||
|
"phpunit/phpunit": "^7.5",
|
||
|
"respect/coding-standard": "^2.1",
|
||
|
"squizlabs/php_codesniffer": "^3.5",
|
||
|
"symfony/validator": "^3.0||^4.0",
|
||
|
"zendframework/zend-validator": "^2.1"
|
||
|
},
|
||
|
"suggest": {
|
||
|
"ext-bcmath": "Arbitrary Precision Mathematics",
|
||
|
"ext-fileinfo": "File Information",
|
||
|
"ext-mbstring": "Multibyte String Functions",
|
||
|
"egulias/email-validator": "Strict (RFC compliant) email validation",
|
||
|
"symfony/validator": "Use Symfony validator through Respect\\Validation",
|
||
|
"zendframework/zend-validator": "Use Zend Framework validator through Respect\\Validation"
|
||
|
},
|
||
|
"autoload": {
|
||
|
"psr-4": {
|
||
|
"Respect\\Validation\\": "library/"
|
||
|
}
|
||
|
},
|
||
|
"autoload-dev": {
|
||
|
"psr-4": {
|
||
|
"Respect\\Validation\\": "tests/unit/",
|
||
|
"Respect\\Validation\\Test\\": "tests/library/"
|
||
|
}
|
||
|
},
|
||
|
"scripts": {
|
||
|
"docheader": "vendor/bin/docheader check library/ tests/",
|
||
|
"phpcs": "vendor/bin/phpcs",
|
||
|
"phpstan": "vendor/bin/phpstan analyze",
|
||
|
"phpunit": "vendor/bin/phpunit",
|
||
|
"phpunit-integration": "vendor/bin/phpunit --testsuite=integration",
|
||
|
"phpunit-unit": "vendor/bin/phpunit --testsuite=unit",
|
||
|
"qa": [
|
||
|
"@docheader",
|
||
|
"@phpcs",
|
||
|
"@phpstan",
|
||
|
"@phpunit"
|
||
|
]
|
||
|
}
|
||
|
}
|