{
    "name": "cakephp/authentication",
    "description": "Authentication plugin for CakePHP",
    "keywords": [
        "auth",
        "authentication",
        "cakephp",
        "middleware"
    ],
    "type": "cakephp-plugin",
    "homepage": "https://cakephp.org",
    "require": {
        "cakephp/http": "^4.4",
        "laminas/laminas-diactoros": "^2.2.2",
        "psr/http-client": "^1.0",
        "psr/http-message": "^1.0",
        "psr/http-server-handler": "^1.0",
        "psr/http-server-middleware": "^1.0"
    },
    "require-dev": {
        "cakephp/cakephp": "^4.4",
        "cakephp/cakephp-codesniffer": "^4.0",
        "firebase/php-jwt": "^6.2",
        "phpunit/phpunit": "^8.5 || ^9.3"
    },
    "suggest": {
        "cakephp/orm": "To use \"OrmResolver\" (Not needed separately if using full CakePHP framework).",
        "cakephp/cakephp": "Install full core to use \"CookieAuthenticator\".",
        "firebase/php-jwt": "If you want to use the JWT adapter add this dependency",
        "ext-ldap": "Make sure this php extension is installed and enabled on your system if you want to use the built-in LDAP adapter for \"LdapIdentifier\".",
        "cakephp/utility": "Provides CakePHP security methods. Required for the JWT adapter and Legacy password hasher."
    },
    "license": "MIT",
    "autoload": {
        "psr-4": {
            "Authentication\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Authentication\\Test\\": "tests/",
            "Cake\\Test\\": "vendor/cakephp/cakephp/tests/",
            "TestApp\\": "tests/test_app/TestApp/",
            "TestPlugin\\": "tests/test_app/Plugin/TestPlugin/src/"
        }
    },
    "authors": [
        {
            "name": "CakePHP Community",
            "homepage": "https://github.com/cakephp/authentication/graphs/contributors"
        }
    ],
    "support": {
        "issues": "https://github.com/cakephp/authentication/issues",
        "forum": "https://stackoverflow.com/tags/cakephp",
        "irc": "irc://irc.freenode.org/cakephp",
        "source": "https://github.com/cakephp/authentication",
        "docs": "https://book.cakephp.org/authentication/2/en/"
    },
    "scripts": {
        "check": [
            "@cs-check",
            "@test"
        ],
        "cs-check": "phpcs --colors -p src/ tests/",
        "cs-fix": "phpcbf --colors -p src/ tests/",
        "phpstan": "phpstan.phar analyse src/",
        "psalm": "psalm.phar --show-info=false",
        "stan": [
            "@phpstan",
            "@psalm"
        ],
        "stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^1.7 psalm/phar:~4.23.0 && mv composer.backup composer.json",
        "test": "phpunit",
        "test-coverage": "phpunit --coverage-clover=clover.xml"
    },
    "config": {
        "sort-packages": true,
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true
        }
    }
}
