| {
    "name": "not-empty/database-cache-php-lib",
    "description": "PHP library for put all database result in cache",
    "version": "7.0.0",
    "type": "library",
    "license": "GPL-3.0-only",
    "require": {
        "php": "^8.3",
        "predis/predis": "^2.2"
    },
    "authors": [
        {
            "name": "Not Empty Foundation",
            "email": "[email protected] "
        }
    ],
    "autoload": {
        "psr-4": {
            "DatabaseCache\\": "src/"
        }
    },
    "scripts": {
        "post-install-cmd": [
            "bash contrib/setup.sh"
        ],
        "check": [
            "@lint",
            "@cs",
            "@mess",
            "@test",
            "@ccu"
        ],
        "mess" : [
            "vendor/bin/phpmd ./src text phpmd.xml",
            "vendor/bin/phpmd ./sample text phpmd.xml"
        ],
        "lint": [
            "find ./src -name '*.php' -print0 | xargs -0 -n1 -P8 php -l -d display_errors=0",
            "find ./tests -name '*.php' -print0 | xargs -0 -n1 -P8 php -l -d display_errors=0",
            "find ./sample -name '*.php' -print0 | xargs -0 -n1 -P8 php -l -d display_errors=0"
        ],
        "cs": "vendor/bin/phpcs",
        "test": "phpdbg -qrr vendor/bin/phpunit --configuration phpunit.xml -d memory_limit=1024M",
        "ccu" : "php contrib/coverage-checker.php coverage/coverage.xml 100"
    },
    "require-dev": {
        "phpunit/phpunit": "^9.6",
        "mockery/mockery": "^1.6",
        "squizlabs/php_codesniffer": "^3.7",
        "phpmd/phpmd": "^2.14",
        "pdepend/pdepend": "2.15.*"
    }
}
 |