summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 47e28d980b45982f53358aa7e7fffb810e47ad10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
    "name": "laminas/laminas-validator",
    "description": "Validation classes for a wide range of domains, and the ability to chain validators to create complex validation criteria",
    "license": "BSD-3-Clause",
    "keywords": [
        "laminas",
        "validator"
    ],
    "homepage": "https://laminas.dev",
    "support": {
        "docs": "https://docs.laminas.dev/laminas-validator/",
        "issues": "https://github.com/laminas/laminas-validator/issues",
        "source": "https://github.com/laminas/laminas-validator",
        "rss": "https://github.com/laminas/laminas-validator/releases.atom",
        "chat": "https://laminas.dev/chat",
        "forum": "https://discourse.laminas.dev"
    },
    "config": {
        "sort-packages": true,
        "platform": {
            "php": "7.3.99"
        },
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true
        }
    },
    "extra": {
        "laminas": {
            "component": "Laminas\\Validator",
            "config-provider": "Laminas\\Validator\\ConfigProvider"
        }
    },
    "require": {
        "php": "^7.3 || ~8.0.0 || ~8.1.0",
        "container-interop/container-interop": "^1.1",
        "laminas/laminas-stdlib": "^3.10"
    },
    "require-dev": {
        "laminas/laminas-cache": "^2.6.1",
        "laminas/laminas-coding-standard": "~2.2.1",
        "laminas/laminas-db": "^2.7",
        "laminas/laminas-filter": "^2.6",
        "laminas/laminas-http": "^2.14.2",
        "laminas/laminas-i18n": "^2.6",
        "laminas/laminas-math": "^2.6",
        "laminas/laminas-servicemanager": "^2.7.11 || ^3.0.3",
        "laminas/laminas-session": "^2.8",
        "laminas/laminas-uri": "^2.7",
        "phpspec/prophecy-phpunit": "^2.0",
        "phpunit/phpunit": "^9.5.5",
        "psalm/plugin-phpunit": "^0.15.0",
        "psr/http-client": "^1.0",
        "psr/http-factory": "^1.0",
        "psr/http-message": "^1.0",
        "vimeo/psalm": "^4.3"
    },
    "suggest": {
        "laminas/laminas-db": "Laminas\\Db component, required by the (No)RecordExists validator",
        "laminas/laminas-filter": "Laminas\\Filter component, required by the Digits validator",
        "laminas/laminas-i18n": "Laminas\\I18n component to allow translation of validation error messages",
        "laminas/laminas-i18n-resources": "Translations of validator messages",
        "laminas/laminas-math": "Laminas\\Math component, required by the Csrf validator",
        "laminas/laminas-servicemanager": "Laminas\\ServiceManager component to allow using the ValidatorPluginManager and validator chains",
        "laminas/laminas-session": "Laminas\\Session component, ^2.8; required by the Csrf validator",
        "laminas/laminas-uri": "Laminas\\Uri component, required by the Uri and Sitemap\\Loc validators",
        "psr/http-message": "psr/http-message, required when validating PSR-7 UploadedFileInterface instances via the Upload and UploadFile validators"
    },
    "autoload": {
        "psr-4": {
            "Laminas\\Validator\\": "src/"
        }
    },
    "autoload-dev": {
        "files": [
            "test/autoload.php"
        ],
        "psr-4": {
            "LaminasTest\\Validator\\": "test/"
        }
    },
    "scripts": {
        "check": [
            "@cs-check",
            "@test"
        ],
        "cs-check": "phpcs",
        "cs-fix": "phpcbf",
        "test": "phpunit --colors=always",
        "test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
        "static-analysis": "psalm --shepherd --stats"
    },
    "conflict": {
        "zendframework/zend-validator": "*"
    }
}