summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 350700728249aa33f97d1c191ae71a1a58938be5 (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-diactoros",
    "description": "PSR HTTP Message implementations",
    "license": "BSD-3-Clause",
    "keywords": [
        "laminas",
        "http",
        "psr",
        "psr-7",
        "psr-17"
    ],
    "homepage": "https://laminas.dev",
    "support": {
        "docs": "https://docs.laminas.dev/laminas-diactoros/",
        "issues": "https://github.com/laminas/laminas-diactoros/issues",
        "source": "https://github.com/laminas/laminas-diactoros",
        "rss": "https://github.com/laminas/laminas-diactoros/releases.atom",
        "chat": "https://laminas.dev/chat",
        "forum": "https://discourse.laminas.dev"
    },
    "config": {
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true
        },
        "sort-packages": true,
        "platform": {
            "php": "7.3.99"
        }
    },
    "extra": {
        "laminas": {
            "config-provider": "Laminas\\Diactoros\\ConfigProvider",
            "module": "Laminas\\Diactoros"
        }
    },
    "require": {
        "php": "^7.3 || ~8.0.0 || ~8.1.0",
        "psr/http-factory": "^1.0",
        "psr/http-message": "^1.0"
    },
    "require-dev": {
        "ext-curl": "*",
        "ext-dom": "*",
        "ext-gd": "*",
        "ext-libxml": "*",
        "http-interop/http-factory-tests": "^0.9.0",
        "laminas/laminas-coding-standard": "~2.3.0",
        "php-http/psr7-integration-tests": "^1.1.1",
        "phpspec/prophecy-phpunit": "^2.0",
        "phpunit/phpunit": "^9.5",
        "psalm/plugin-phpunit": "^0.17.0",
        "vimeo/psalm": "^4.24.0"
    },
    "provide": {
        "psr/http-factory-implementation": "1.0",
        "psr/http-message-implementation": "1.0"
    },
    "conflict": {
        "phpspec/prophecy": "<1.9.0",
        "zendframework/zend-diactoros": "*"
    },
    "autoload": {
        "files": [
            "src/functions/create_uploaded_file.php",
            "src/functions/marshal_headers_from_sapi.php",
            "src/functions/marshal_method_from_sapi.php",
            "src/functions/marshal_protocol_version_from_sapi.php",
            "src/functions/marshal_uri_from_sapi.php",
            "src/functions/normalize_server.php",
            "src/functions/normalize_uploaded_files.php",
            "src/functions/parse_cookie_header.php",
            "src/functions/create_uploaded_file.legacy.php",
            "src/functions/marshal_headers_from_sapi.legacy.php",
            "src/functions/marshal_method_from_sapi.legacy.php",
            "src/functions/marshal_protocol_version_from_sapi.legacy.php",
            "src/functions/marshal_uri_from_sapi.legacy.php",
            "src/functions/normalize_server.legacy.php",
            "src/functions/normalize_uploaded_files.legacy.php",
            "src/functions/parse_cookie_header.legacy.php"
        ],
        "psr-4": {
            "Laminas\\Diactoros\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "LaminasTest\\Diactoros\\": "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"
    }
}