{
    "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",
        "source": "https://github.com/yiisoft/router",
        "forum": "https://www.yiiframework.com/forum/",
        "wiki": "https://www.yiiframework.com/wiki/",
        "irc": "ircs://irc.libera.chat:6697/yii",
        "chat": "https://t.me/yii3en"
    },
    "funding": [
        {
            "type": "opencollective",
            "url": "https://opencollective.com/yiisoft"
        },
        {
            "type": "github",
            "url": "https://github.com/sponsors/yiisoft"
        }
    ],
    "require": {
        "php": "8.1 - 8.5",
        "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.7.1",
        "nyholm/psr7": "^1.8.2",
        "phpunit/phpunit": "^10.5.45",
        "psr/container": "^1.1 || ^2.0.2",
        "rector/rector": "^2.0.9",
        "roave/infection-static-analysis-plugin": "^1.35",
        "spatie/phpunit-watcher": "^1.24",
        "vimeo/psalm": "^5.26.1 || ^6.8.6",
        "yiisoft/di": "^1.3",
        "yiisoft/dummy-provider": "^1.0.1",
        "yiisoft/hydrator": "^1.5",
        "yiisoft/test-support": "^3.0.1",
        "yiisoft/yii-debug": "dev-master"
    },
    "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",
            "params": "params.php"
        }
    },
    "config": {
        "sort-packages": true,
        "allow-plugins": {
            "infection/extension-installer": true,
            "composer/package-versions-deprecated": true,
            "yiisoft/config": false
        }
    },
    "scripts": {
        "composer-require-checker": "composer-require-checker",
        "rector": "rector",
        "test": "phpunit --testdox --no-interaction",
        "test-watch": "phpunit-watcher watch"
    }
}
