{
    "require": {
        "php": "^8.3",
        "geoip2/geoip2": "^3.0"
    },
    "require-dev": {
        "phpstan/phpstan": "^2.0",
        "phpstan/phpstan-phpunit": "^2.0",
        "phpstan/phpstan-deprecation-rules": "^2.0",
        "squizlabs/php_codesniffer": "^4.0",
        "phpunit/phpunit": "^12.0",
        "bizurkur/mockfs": "^0.2.0"
    },
    "autoload": {
        "psr-4": {
            "IntruderAlert\\": "backend/include/"
        }
    },
    "autoload-dev": {
        "classmap": [
            "backend/tests/"
        ]
    },
    "scripts": {
        "lint": "phpstan --memory-limit=200M && phpcs",
        "lint-phpstan": "phpstan --memory-limit=200M",
        "lint-phpcs": "phpcs",
        "lint-phpcs-gh-action": "phpcs --report=checkstyle | cs2pr",
        "fix": "phpcbf",
        "test": "phpunit --colors --coverage-html coverage-reports"
    },
    "config": {
        "vendor-dir": "backend/vendor"
    }
}
