{
    "name": "spomky-labs/otphp",
    "type": "library",
    "description": "A PHP library for generating one time passwords according to RFC 4226 (HOTP Algorithm) and the RFC 6238 (TOTP Algorithm) and compatible with Google Authenticator",
    "license": "MIT",
    "keywords": ["otp", "hotp", "totp", "RFC 4226", "RFC 6238", "Google Authenticator", "FreeOTP"],
    "homepage": "https://github.com/Spomky-Labs/otphp",
    "authors": [
        {
            "name": "Florent Morselli",
            "homepage": "https://github.com/Spomky"
        },
        {
            "name": "All contributors",
            "homepage": "https://github.com/Spomky-Labs/otphp/contributors"
        }
    ],
    "require": {
        "php": ">=8.1",
        "paragonie/constant_time_encoding": "^2.0 || ^3.0",
        "psr/clock": "^1.0",
        "symfony/deprecation-contracts": "^3.2"
    },
    "require-dev": {
        "symfony/error-handler": "^6.4|^7.0|^8.0"
    },
    "autoload": {
        "psr-4": { "OTPHP\\": "src/" }
    },
    "autoload-dev": {
        "psr-4": { "OTPHP\\Test\\": "tests/" }
    },
    "config": {
        "allow-plugins": {
            "phpstan/extension-installer": true,
            "infection/extension-installer": true,
            "composer/package-versions-deprecated": true,
            "symfony/flex": true,
            "symfony/runtime": true
        },
        "optimize-autoloader": true,
        "preferred-install": {
            "*": "dist"
        },
        "sort-packages": true
    }
}
