{
    "name": "mikehaertl/php-pdftk",
    "description": "A PDF conversion and form utility based on pdftk.",
    "keywords": ["pdf", "pdftk"],
    "type": "library",
    "license": "MIT",
    "authors": [
        {
            "name": "Michael Haertl",
            "email": "haertl.mike@gmail.com"
        }
    ],
    "require": {
        "php": ">=8.1",
        "mikehaertl/php-shellcommand": "^1.7",
        "mikehaertl/php-tmpfile": "^1.3"
    },
    "autoload": {
        "psr-4": {
            "mikehaertl\\pdftk\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "tests\\": "tests"
        }
    },
    "require-dev": {
        "bamarni/composer-bin-plugin": "^1.8"
    },
    "scripts": {
        "bin": "echo 'bin not installed'",
        "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -print0 | xargs -0 -n1 php -l",
        "cs:check": "php-cs-fixer fix --dry-run --diff",
        "cs:fix": "php-cs-fixer fix",
        "post-install-cmd": [
            "@composer bin all install --ansi",
            "composer dump-autoload"
        ],
        "psalm": "psalm --no-cache --threads=$(nproc)",
        "psalm:update-baseline": "psalm --threads=$(nproc) --update-baseline --set-baseline=tests/psalm-baseline.xml",
        "post-update-cmd": [
            "composer dump-autoload"
        ],
        "test:unit": "vendor/bin/phpunit --no-coverage --colors=always --fail-on-warning --fail-on-risky --display-deprecations --display-phpunit-deprecations",
        "test:coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit"
    },
    "config": {
        "optimize-autoloader": true,
        "classmap-authoritative": true,
        "sort-packages": true,
        "allow-plugins": {
            "bamarni/composer-bin-plugin": true
        },
        "platform": {
            "php": "8.1"
        }
    },
    "extra": {
        "bamarni-bin": {
            "bin-links": true,
            "forward-command": true
        }
    }
}
