summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: aa296be60acaff9a9aa00bb0545825a2a516b8b1 (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
{
    "name": "laminas/laminas-hydrator",
    "description": "Serialize objects to arrays, and vice versa",
    "license": "BSD-3-Clause",
    "keywords": [
        "laminas",
        "hydrator"
    ],
    "homepage": "https://laminas.dev",
    "support": {
        "docs": "https://docs.laminas.dev/laminas-hydrator/",
        "issues": "https://github.com/laminas/laminas-hydrator/issues",
        "source": "https://github.com/laminas/laminas-hydrator",
        "rss": "https://github.com/laminas/laminas-hydrator/releases.atom",
        "chat": "https://laminas.dev/chat",
        "forum": "https://discourse.laminas.dev"
    },
    "config": {
        "sort-packages": true,
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true
        },
        "platform": {
            "php": "8.0.99"
        }
    },
    "extra": {
        "laminas": {
            "component": "Laminas\\Hydrator",
            "config-provider": "Laminas\\Hydrator\\ConfigProvider"
        }
    },
    "require": {
        "php": "~8.0.0 || ~8.1.0 || ~8.2.0",
        "laminas/laminas-stdlib": "^3.3",
        "webmozart/assert": "^1.10"
    },
    "require-dev": {
        "laminas/laminas-coding-standard": "~2.5.0",
        "laminas/laminas-eventmanager": "^3.10",
        "laminas/laminas-modulemanager": "^2.14.0",
        "laminas/laminas-serializer": "^2.14.0",
        "laminas/laminas-servicemanager": "^3.20",
        "phpbench/phpbench": "^1.2.8",
        "phpunit/phpunit": "^9.5.28",
        "psalm/plugin-phpunit": "^0.18.4",
        "vimeo/psalm": "^5.6"
    },
    "suggest": {
        "laminas/laminas-eventmanager": "^3.2, to support aggregate hydrator usage",
        "laminas/laminas-serializer": "^2.9, to use the SerializableStrategy",
        "laminas/laminas-servicemanager": "^3.14, to support hydrator plugin manager usage"
    },
    "autoload": {
        "psr-4": {
            "Laminas\\Hydrator\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "LaminasTest\\Hydrator\\": "test/",
            "LaminasBench\\Hydrator\\": "benchmark/"
        }
    },
    "scripts": {
        "benchmark": "phpbench run --revs=2 --iterations=2 --report=aggregate",
        "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"
    },
    "conflict": {
        "zendframework/zend-hydrator": "*",
        "laminas/laminas-servicemanager": "<3.14.0"
    }
}