eustasy/authenticatron

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "eustasy/authenticatron",
    "description": "HOTP / TOTP secrets with corresponding QR links and code verification from a simple PHP script.",
    "homepage": "https://github.com/eustasy/authenticatron",
    "license": "MIT",
    "keywords": [
        "security",
        "authentication",
        "secret",
        "hotp",
        "totp",
        "passwords",
        "two-factor-authentication",
        "2fa webauthn"
    ],
    "type": "library",
    "autoload": {
        "psr-4": {
            "Eustasy\\Authenticatron\\": "src/"
        },
        "classmap": [
            "src/authenticatron.php"
        ]
    },
    "require": {
        "php": ">=8.2",
        "ext-gd": "*",
        "jysperu/php-qr-code": "^2.0"
    },
    "require-dev": {
        "ext-xml": "*",
        "phpunit/phpunit": "11"
    },
    "scripts": {
        "test": [
            "phpunit --testdox tests",
            "@php src/authenticatron.php"
        ]
    }
}