aboutsummaryrefslogtreecommitdiff
path: root/composer.json
blob: 09504251a75035fdc0acfaf73e52aad5b64ccdd0 (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
{
    "name": "brettparson/miniroute",
    "description": "A small attribute-based routing and middleware kernel for PHP applications.",
    "type": "library",
    "license": "MIT",
    "keywords": ["routing", "router", "middleware", "attributes", "php"],
    "require": {
        "php": ">=8.2"
    },
    "autoload": {
        "psr-4": {
            "BrettParson\\MiniRoute\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "BrettParson\\MiniRoute\\Tests\\": "tests/"
        }
    },
    "require-dev": {
        "phpunit/phpunit": "^10.5 || ^11.0"
    },
    "scripts": {
        "test": "phpunit",
        "bench": "php tests/bench/bench.php",
        "lint": "find src tests -name '*.php' -exec php -l {} +",
        "check": ["@lint", "@test"]
    },
    "config": {
        "sort-packages": true
    }
}