summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: c3e21db167821bbee723b1b3315e03761fb06f8d (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
{
    "name": "laminas/laminas-router",
    "description": "Flexible routing system for HTTP and console applications",
    "license": "BSD-3-Clause",
    "keywords": [
        "laminas",
        "routing"
    ],
    "homepage": "https://laminas.dev",
    "support": {
        "docs": "https://docs.laminas.dev/laminas-router/",
        "issues": "https://github.com/laminas/laminas-router/issues",
        "source": "https://github.com/laminas/laminas-router",
        "rss": "https://github.com/laminas/laminas-router/releases.atom",
        "chat": "https://laminas.dev/chat",
        "forum": "https://discourse.laminas.dev"
    },
    "config": {
        "sort-packages": true,
        "platform": {
            "php": "8.0.99"
        },
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true
        }
    },
    "extra": {
        "laminas": {
            "component": "Laminas\\Router",
            "config-provider": "Laminas\\Router\\ConfigProvider"
        }
    },
    "require": {
        "php": "~8.0.0 || ~8.1.0 || ~8.2.0",
        "laminas/laminas-http": "^2.15",
        "laminas/laminas-servicemanager": "^3.14.0",
        "laminas/laminas-stdlib": "^3.10.1"
    },
    "require-dev": {
        "laminas/laminas-coding-standard": "~2.4.0",
        "laminas/laminas-i18n": "^2.17",
        "phpunit/phpunit": "^9.5.25",
        "psalm/plugin-phpunit": "^0.17.0",
        "vimeo/psalm": "^4.28"
    },
    "suggest": {
        "laminas/laminas-i18n": "^2.15.0 if defining translatable HTTP path segments"
    },
    "autoload": {
        "psr-4": {
            "Laminas\\Router\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "LaminasTest\\Router\\": "test/"
        }
    },
    "scripts": {
        "check": [
            "@cs-check",
            "@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-router": "*"
    }
}