{
    "name": "selective/samesite-cookie",
    "type": "library",
    "description": "Secure your site with SameSite cookies",
    "keywords": [
        "samesite-cookie",
        "samesite",
        "cookie",
        "csrf"
    ],
    "homepage": "https://github.com/selective-php/samesite-cookie",
    "license": "MIT",
    "require": {
        "php": "^7.1",
        "psr/http-message": "^1.0",
        "psr/http-server-handler": "^1.0",
        "psr/http-server-middleware": "^1.0"
    },
    "require-dev": {
        "nyholm/psr7": "^1.1",
        "overtrue/phplint": "^1.1",
        "phpstan/phpstan-shim": "^0.11",
        "phpunit/phpunit": "^7",
        "relay/relay": "^2.0",
        "squizlabs/php_codesniffer": "^3.4"
    },
    "scripts": {
        "test": "phpunit --configuration phpunit.xml",
        "test-coverage": "phpunit --configuration phpunit.xml --coverage-clover build/logs/clover.xml --coverage-html build/coverage",
        "check-style": "phpcs --standard=phpcs.xml",
        "fix-style": "phpcbf --standard=phpcs.xml",
        "phpstan": "phpstan analyse src tests --level=max -c phpstan.neon --no-progress",
        "lint": "phplint ./ --exclude=vendor --no-interaction --no-cache",
        "install-cs": "php -r \"@mkdir('build'); copy('https://cs.symfony.com/download/php-cs-fixer-v2.phar', 'build/php-cs-fixer-v2.phar');\"",
        "fix-cs": "php build/php-cs-fixer-v2.phar fix --config=.cs.php",
        "check-cs": "php build/php-cs-fixer-v2.phar fix --dry-run --format=txt --verbose --diff --diff-format=udiff --config=.cs.php",
        "check-all": [
            "@lint",
            "@check-style",
            "@phpstan",
            "@test-coverage"
        ]
    },
    "autoload": {
        "psr-4": {
            "Selective\\SameSiteCookie\\": "src"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Selective\\SameSiteCookie\\Test\\": "tests"
        }
    },
    "config": {
        "sort-packages": true
    }
}
