{
    "name": "yiisoft/validator",
    "type": "library",
    "description": "Yii Validator",
    "keywords": [
        "validation",
        "validator"
    ],
    "homepage": "https://www.yiiframework.com/",
    "license": "BSD-3-Clause",
    "support": {
        "issues": "https://github.com/yiisoft/validator/issues?state=open",
        "source": "https://github.com/yiisoft/validator",
        "forum": "https://www.yiiframework.com/forum/",
        "wiki": "https://www.yiiframework.com/wiki/",
        "irc": "ircs://irc.libera.chat:6697/yii",
        "chat": "https://t.me/yii3en"
    },
    "funding": [
        {
            "type": "opencollective",
            "url": "https://opencollective.com/yiisoft"
        },
        {
            "type": "github",
            "url": "https://github.com/sponsors/yiisoft"
        }
    ],
    "require": {
        "php": "8.1 - 8.5",
        "ext-mbstring": "*",
        "psr/container": "^1.0 || ^2.0",
        "psr/http-message": "^1.0 || ^2.0",
        "yiisoft/arrays": "^2.1 || ^3.0",
        "yiisoft/friendly-exception": "^1.0",
        "yiisoft/network-utilities": "^1.2",
        "yiisoft/strings": "^2.6",
        "yiisoft/translator": "^2.1 || ^3.0"
    },
    "require-dev": {
        "bamarni/composer-bin-plugin": "^1.8.3",
        "friendsofphp/php-cs-fixer": "^3.91",
        "jetbrains/phpstorm-attributes": "^1.2",
        "maglnet/composer-require-checker": "^4.7.1",
        "phpbench/phpbench": "^1.4.1",
        "phpunit/phpunit": "^10.5.46",
        "rector/rector": "^2.0.16",
        "spatie/phpunit-watcher": "^1.24",
        "yiisoft/di": "^1.3",
        "yiisoft/test-support": "^3.0.2",
        "yiisoft/translator-message-php": "^1.1.1",
        "yiisoft/yii-debug": "dev-master"
    },
    "suggest": {
        "ext-intl": "Allows using date rules and IDN validation for emails",
        "ext-fileinfo": "To use image rule",
        "yiisoft/di": "To create rule handlers via Yii DI"
    },
    "autoload": {
        "psr-4": {
            "Yiisoft\\Validator\\": "src"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Yiisoft\\Validator\\Tests\\": "tests"
        }
    },
    "extra": {
        "bamarni-bin": {
            "bin-links": true,
            "target-directory": "tools",
            "forward-command": true
        },
        "config-plugin-options": {
            "source-directory": "config"
        },
        "config-plugin": {
            "di": "di.php",
            "params": "params.php"
        }
    },
    "config": {
        "sort-packages": true,
        "allow-plugins": {
            "bamarni/composer-bin-plugin": true,
            "composer/package-versions-deprecated": true,
            "yiisoft/config": false
        }
    },
    "scripts": {
        "test": "phpunit --testdox --no-interaction",
        "test-watch": "phpunit-watcher watch",
        "rector": "vendor/bin/rector process",
        "infection": "vendor/bin/infection",
        "dry-run": "vendor/bin/rector process --dry-run",
        "psalm": "vendor/bin/psalm --config=psalm.xml",
        "cs-fix": "php-cs-fixer fix"
    }
}
