{
    "name": "odan/session",
    "type": "library",
    "description": "A Slim session handler",
    "keywords": [
        "slim",
        "session"
    ],
    "homepage": "https://github.com/odan/session",
    "license": "MIT",
    "require": {
        "php": "~8.2.0 || ~8.3.0 || ~8.4.0",
        "psr/http-message": "^1 || ^2",
        "psr/http-server-handler": "^1",
        "psr/http-server-middleware": "^1"
    },
    "require-dev": {
        "friendsofphp/php-cs-fixer": "^3",
        "middlewares/utils": "^3",
        "nyholm/psr7": "^1.5",
        "phpstan/phpstan": "^2",
        "phpunit/phpunit": "^11",
        "squizlabs/php_codesniffer": "^3"
    },
    "scripts": {
        "cs:check": [
            "@putenv PHP_CS_FIXER_IGNORE_ENV=1",
            "php-cs-fixer fix --dry-run --format=txt --verbose --config=.cs.php --ansi"
        ],
        "cs:fix": [
            "@putenv PHP_CS_FIXER_IGNORE_ENV=1",
            "php-cs-fixer fix --config=.cs.php --ansi --verbose"
        ],
        "sniffer:check": "phpcs --standard=phpcs.xml",
        "sniffer:fix": "phpcbf --standard=phpcs.xml",
        "stan": "phpstan analyse -c phpstan.neon --no-progress --ansi",
        "test": "phpunit --configuration phpunit.xml --do-not-cache-result --colors=always --display-warnings --display-deprecations --no-coverage",
        "test:all": [
            "@cs:check",
            "@sniffer:check",
            "@stan",
            "@test"
        ],
        "test:coverage": [
            "@putenv XDEBUG_MODE=coverage",
            "phpunit --configuration phpunit.xml --do-not-cache-result --colors=always --display-warnings --display-deprecations --coverage-clover build/coverage/clover.xml --coverage-html build/coverage --coverage-text"
        ]
    },
    "autoload": {
        "psr-4": {
            "Odan\\Session\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Odan\\Session\\Test\\": "tests/"
        }
    },
    "config": {
        "sort-packages": true
    }
}