{
    "name": "modules\/facturx",
    "type": "dolibarr-module",
    "version": "1.6.8",
    "homepage": "https:\/\/cap-rel.fr\/",
    "readme": "README.md",
    "license": "GPL-3.0-or-later",
    "config": {
        "prepend-autoloader": false,
        "optimize-autoloader": false,
        "classmap-authoritative": false,
        "apcu-autoloader": false,
        "platform-check": false,
        "platform": {
            "php": "7.4.33"
        },
        "allow-plugins": {
            "barryvdh\/composer-cleanup-plugin": true
        }
    },
    "authors": [
        {
            "name": "Eric Seigne",
            "email": "eric.seigne@cap-rel.fr",
            "homepage": "https:\/\/www.cap-rel.fr",
            "role": "Developer"
        }
    ],
    "support": {
        "email": "sav@cap-rel.fr",
        "issues": "https:\/\/cap-rel.fr\/sav-module-dolibarr\/",
        "docs": "https:\/\/doc.cap-rel.fr\/projet_factur-x\/accueil"
    },
    "funding": [
        {
            "type": "other",
            "url": "https:\/\/cap-rel.fr\/services\/soutien-rd\/"
        }
    ],
    "require": {
        "php": ">=7.4",
        "setasign\/fpdi": "^2.6",
        "setasign\/fpdf": "^1.8.6",
        "horstoeko\/zugferd": "^1.0",
        "tebru\/doctrine-annotation-reader": "^0.3.7"
    },
    "require-dev": {
        "phpunit\/phpunit": "^9.6",
        "phpstan\/phpstan": "^1.10",
        "cap-rel\/dolibarr-integration-sqlite": "@dev",
        "symfony\/http-client": "^5.4 || ^6.0 || ^7.0"
    },
    "suggest": {
        "cap-rel\/dolibarr-integration-sqlite": "For integration tests with real Dolibarr (requires PHP 8.2+)"
    },
    "autoload-dev": {
        "psr-4": {
            "custom\\facturx\\Facturx\\Tests\\": "test\/phpunit\/",
            "custom\\facturx\\Facturx\\Tests\\Unit\\": "test\/phpunit\/unit\/",
            "custom\\facturx\\Facturx\\Tests\\IntegrationDolibarr\\": "test\/phpunit\/integration-dolibarr\/",
            "custom\\facturx\\Facturx\\Tests\\Http\\": "test\/phpunit\/http\/"
        }
    },
    "scripts": {
        "post-autoload-dump": [
            "patch -p2 -N < collision_fpdf.patch || true",
            "patch -p0 -N < fpdipdfparser.patch || true",
            "patch -p0 -N < zugferd.patch || true"
        ],
        "test": "phpunit",
        "test:unit": "phpunit --testsuite unit",
        "test:integration": "phpunit -c phpunit-integration-dolibarr.xml",
        "test:http": "phpunit -c phpunit-http.xml",
        "phpstan": "phpstan analyse --memory-limit=512M"
    }
}