mirror of
https://github.com/Respect/Validation.git
synced 2026-03-14 22:35:45 +01:00
I've released version 1.0 many years ago, but somehow I forgot to upgrade the version in Validation. This commit does that, just almost 3 years too late. I'm not upgrading it to 2.0 because there are too many changes, and especially because version 2.0 stringifies callbacks, which might cause secutiry issues.
73 lines
2.4 KiB
JSON
73 lines
2.4 KiB
JSON
{
|
|
"name": "respect/validation",
|
|
"description": "The most awesome validation engine ever created for PHP",
|
|
"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,
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
}
|
|
},
|
|
"require": {
|
|
"php": ">=8.1",
|
|
"respect/stringifier": "^0.2.0 || ^1.0",
|
|
"symfony/polyfill-mbstring": "^1.2"
|
|
},
|
|
"require-dev": {
|
|
"egulias/email-validator": "^3.0 || ^4.0",
|
|
"giggsey/libphonenumber-for-php-lite": "^8.13 || ^9.0",
|
|
"malukenho/docheader": "^1.0",
|
|
"mikey179/vfsstream": "^1.6",
|
|
"phpstan/phpstan": "^1.9",
|
|
"phpstan/phpstan-deprecation-rules": "^1.1",
|
|
"phpstan/phpstan-phpunit": "^1.3",
|
|
"phpunit/phpunit": "^9.6",
|
|
"psr/http-message": "^1.0",
|
|
"respect/coding-standard": "^4.0",
|
|
"squizlabs/php_codesniffer": "^3.7"
|
|
},
|
|
"suggest": {
|
|
"ext-bcmath": "Arbitrary Precision Mathematics",
|
|
"ext-fileinfo": "File Information",
|
|
"ext-mbstring": "Multibyte String Functions",
|
|
"egulias/email-validator": "Improves the Email rule if available",
|
|
"giggsey/libphonenumber-for-php-lite": "Enables the phone rule if available"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Respect\\Validation\\": "library/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Respect\\Validation\\": "tests/unit/",
|
|
"Respect\\Validation\\Test\\": "tests/library/"
|
|
},
|
|
"files": [
|
|
"tests/integration/lib/helpers.php"
|
|
]
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
}
|