{
    "name": "yiisoft/router",
    "type": "library",
    "description": "Yii router",
    "keywords": [
        "web",
        "router",
        "middleware"
    ],
    "homepage": "https://www.yiiframework.com/",
    "license": "BSD-3-Clause",
    "support": {
        "issues": "https://github.com/yiisoft/router/issues?state=open",
        "forum": "https://www.yiiframework.com/forum/",
        "wiki": "https://www.yiiframework.com/wiki/",
        "irc": "irc://irc.freenode.net/yii",
        "chat": "https://t.me/yii3en",
        "source": "https://github.com/yiisoft/router"
    },
    "require": {
        "php": "^8.0",
        "psr/event-dispatcher": "^1.0",
        "psr/http-factory": "^1.0",
        "psr/http-message": "^1.0|^2.0",
        "psr/http-server-handler": "^1.0",
        "psr/http-server-middleware": "^1.0",
        "yiisoft/http": "^1.2",
        "yiisoft/middleware-dispatcher": "^5.0",
        "yiisoft/router-implementation": "1.0.0"
    },
    "require-dev": {
        "maglnet/composer-require-checker": "^4.4",
        "nyholm/psr7": "^1.5",
        "phpunit/phpunit": "^9.5",
        "psr/container": "^1.1|^2.0",
        "rector/rector": "^1.0",
        "roave/infection-static-analysis-plugin": "^1.18",
        "spatie/phpunit-watcher": "^1.23",
        "vimeo/psalm": "^4.30|^5.22",
        "yiisoft/di": "^1.0",
        "yiisoft/dummy-provider": "^1.0.0",
        "yiisoft/hydrator": "^1.0",
        "yiisoft/test-support": "^3.0"
    },
    "autoload": {
        "psr-4": {
            "Yiisoft\\Router\\": "src"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Yiisoft\\Router\\Tests\\": "tests"
        }
    },
    "suggest": {
        "yiisoft/router-fastroute": "Router implementation based on nikic/FastRoute",
        "yiisoft/hydrator": "Needed to use `RouteArgument` attribute"
    },
    "extra": {
        "config-plugin-options": {
            "source-directory": "config"
        },
        "config-plugin": {
            "di": "di.php"
        }
    },
    "config": {
        "sort-packages": true,
        "allow-plugins": {
            "infection/extension-installer": true,
            "composer/package-versions-deprecated": true,
            "yiisoft/config": false
        }
    },
    "scripts": {
        "test": "phpunit --testdox --no-interaction",
        "test-watch": "phpunit-watcher watch"
    }
}
