{
    "name": "cakephp/authorization",
    "description": "Authorization abstraction layer plugin for CakePHP",
    "license": "MIT",
    "type": "cakephp-plugin",
    "keywords": [
        "auth",
        "authorization",
        "access",
        "cakephp"
    ],
    "authors": [
        {
            "name": "CakePHP Community",
            "homepage": "https://github.com/cakephp/authorization/graphs/contributors"
        }
    ],
    "support": {
        "issues": "https://github.com/cakephp/authorization/issues",
        "forum": "https://stackoverflow.com/tags/cakephp",
        "irc": "irc://irc.freenode.org/cakephp",
        "source": "https://github.com/cakephp/authorization",
        "docs": "https://cakephp.org/authorization/2/en/"
    },
    "require": {
        "php": ">=8.1",
        "cakephp/http": "^5.1",
        "psr/http-client": "^1.0",
        "psr/http-message": "^1.1 || ^2.0",
        "psr/http-server-handler": "^1.0",
        "psr/http-server-middleware": "^1.0"
    },
    "require-dev": {
        "cakephp/authentication": "^3.0 || ^4.0",
        "cakephp/bake": "^3.2",
        "cakephp/cakephp": "^5.1",
        "cakephp/cakephp-codesniffer": "^5.1",
        "phpunit/phpunit": "^10.5.58 || ^11.5.3 || ^12.4 || ^13.0"
    },
    "suggest": {
        "cakephp/http": "To use \"RequestPolicyInterface\" (Not needed separately if using full CakePHP framework).",
        "cakephp/orm": "To use \"OrmResolver\" (Not needed separately if using full CakePHP framework)."
    },
    "autoload": {
        "psr-4": {
            "Authorization\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Authorization\\Test\\": "tests/",
            "OverridePlugin\\": "tests/test_app/Plugin/OverridePlugin/src/",
            "TestApp\\": "tests/test_app/TestApp/",
            "TestPlugin\\": "tests/test_app/Plugin/TestPlugin/src/"
        }
    },
    "config": {
        "allow-plugins": {
            "cakephp/plugin-installer": true,
            "dealerdirect/phpcodesniffer-composer-installer": true
        },
        "sort-packages": true
    },
    "scripts": {
        "check": [
            "@cs-check",
            "@stan",
            "@test"
        ],
        "cs-check": "phpcs",
        "cs-fix": "phpcbf",
        "phpstan": "tools/phpstan analyse",
        "stan": "@phpstan",
        "stan-baseline": "tools/phpstan --generate-baseline",
        "stan-setup": "phive install",
        "rector-setup": "cp composer.json composer.backup && composer require --dev rector/rector:\"~2.3.1\" && mv composer.backup composer.json",
        "rector-check": "vendor/bin/rector process --dry-run",
        "rector-fix": "vendor/bin/rector process",
        "test": "phpunit",
        "test-coverage": "phpunit --coverage-clover=clover.xml"
    },
    "minimum-stability": "stable",
    "prefer-stable": true
}
