summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: ad3fdd529b8df7db266924fc07d6d2c1c76d96e2 (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
96
97
98
99
100
101
{
    "name": "laminas/laminas-form",
    "description": "Validate and display simple and complex forms, casting forms to business objects and vice versa",
    "license": "BSD-3-Clause",
    "keywords": [
        "laminas",
        "form"
    ],
    "homepage": "https://laminas.dev",
    "support": {
        "issues": "https://github.com/laminas/laminas-form/issues",
        "forum": "https://discourse.laminas.dev",
        "chat": "https://laminas.dev/chat",
        "source": "https://github.com/laminas/laminas-form",
        "docs": "https://docs.laminas.dev/laminas-form/",
        "rss": "https://github.com/laminas/laminas-form/releases.atom"
    },
    "require": {
        "php": "~8.1.0 || ~8.2.0",
        "laminas/laminas-hydrator": "^4.13.0",
        "laminas/laminas-inputfilter": "^2.24.0",
        "laminas/laminas-stdlib": "^3.16.1"
    },
    "require-dev": {
        "ext-intl": "*",
        "doctrine/annotations": "^1.14.3 || ^2.0.1",
        "laminas/laminas-captcha": "^2.16",
        "laminas/laminas-coding-standard": "^2.5",
        "laminas/laminas-db": "^2.17",
        "laminas/laminas-escaper": "^2.12",
        "laminas/laminas-eventmanager": "^3.10",
        "laminas/laminas-filter": "^2.31",
        "laminas/laminas-i18n": "^2.21",
        "laminas/laminas-modulemanager": "^2.14.0",
        "laminas/laminas-recaptcha": "^3.6",
        "laminas/laminas-servicemanager": "^3.20",
        "laminas/laminas-session": "^2.16",
        "laminas/laminas-text": "^2.10.0",
        "laminas/laminas-validator": "^2.30.1",
        "laminas/laminas-view": "^2.27",
        "phpunit/phpunit": "^10.0.16",
        "psalm/plugin-phpunit": "^0.18.4",
        "vimeo/psalm": "^5.8"
    },
    "conflict": {
        "doctrine/annotations": "<1.14.0",
        "laminas/laminas-captcha": "<2.16.0",
        "laminas/laminas-eventmanager": "<3.10.0",
        "laminas/laminas-i18n": "<2.21.0",
        "laminas/laminas-recaptcha": "<3.6.0",
        "laminas/laminas-servicemanager": "<3.20.0",
        "laminas/laminas-view": "<2.27.0"
    },
    "suggest": {
        "doctrine/annotations": "^1.14, required to use laminas-form annotations support",
        "laminas/laminas-captcha": "^2.16, required for using CAPTCHA form elements",
        "laminas/laminas-eventmanager": "^3.10, reuired for laminas-form annotations support",
        "laminas/laminas-i18n": "^2.21, required when using laminas-form view helpers",
        "laminas/laminas-recaptcha": "^3.6, in order to use the ReCaptcha form element",
        "laminas/laminas-servicemanager": "^3.20, required to use the form factories or provide services",
        "laminas/laminas-view": "^2.27, required for using the laminas-form view helpers"
    },
    "autoload": {
        "psr-4": {
            "Laminas\\Form\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "LaminasTest\\Form\\": "test/"
        }
    },
    "config": {
        "allow-plugins": {
            "composer/package-versions-deprecated": true,
            "dealerdirect/phpcodesniffer-composer-installer": true
        },
        "platform": {
            "php": "8.1.99"
        },
        "sort-packages": true
    },
    "extra": {
        "laminas": {
            "component": "Laminas\\Form",
            "config-provider": "Laminas\\Form\\ConfigProvider"
        }
    },
    "scripts": {
        "check": [
            "@cs-check",
            "@static-analysis",
            "@test"
        ],
        "cs-check": "phpcs",
        "cs-fix": "phpcbf",
        "static-analysis": "psalm --shepherd --stats",
        "test": "phpunit --colors=always",
        "test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
    }
}