{
    "name": "postfixadmin/postfixadmin",
    "description": "web based administration interface for Postfix mail servers",
    "type": "project",
    "license": "GPL-2.0-only",
    "config": {
        "preferred-install":"dist"
    },
    "scripts": {
        "build" : [
            "@check-format",
            "@lint",
            "@test-fixup",
            "@psalm",
            "@test"
        ],
        "check-format": "@php vendor/bin/php-cs-fixer fix --ansi --dry-run --diff",
        "format": "@php vendor/bin/php-cs-fixer fix --ansi",
        "lint": "@php ./vendor/bin/parallel-lint --exclude vendor/ .",
        "test": "@php ./vendor/bin/phpunit --coverage-clover ./clover.xml tests/",
        "test-fixup": "mkdir -p templates_c ; test -f config.local.php || touch config.local.php",
        "psalm": "@php ./vendor/bin/psalm.phar --no-cache --show-info=false "
    },
    "require": {
        "php": ">=7.4",
        "smarty/smarty": "^3|^4",
        "postfixadmin/password-hashing": "^0.0.2",
        "endroid/qr-code": "^4.6 | ^5.0", 
        "spomky-labs/otphp": "^10.0",
        "shardj/zf1-future": "^1.12"
    },
    "require-dev": {
        "ext-mysqli":  "*",
        "ext-sqlite3": "*",
        "ext-mbstring": "*",
        "friendsofphp/php-cs-fixer": "^3.54.0",
        "php-parallel-lint/php-parallel-lint": "^1.0",
        "php-coveralls/php-coveralls": "*",
        "phpunit/phpunit": "8.*|9.*",
        "psalm/phar":"^4.0"
    },
    "autoload": {
        "classmap" : [ "model/" ],
        "files": [
            "config.inc.php",
            "functions.inc.php"
        ]
    },
    "support": {
        "irc": "irc://irc.libera.chat/postfixadmin",
        "issues": "https://github.com/postfixadmin/postfixadmin/issues"
    }
}
