{
    "name": "superfaktura/apiclient",
    "minimum-stability": "stable",
    "description": "Api client for SuperFaktura | online invoicing tool",
    "type": "library",
    "keywords": ["invoice", "invoices", "business"],
    "homepage": "https://github.com/superfaktura/apiclient",
    "license": "MIT",
    "authors": [
        {
            "name": "SuperFaktura team",
            "email": "info@superfaktura.sk",
            "homepage": "https://www.superfaktura.sk/",
            "role": "Developers"
        }
    ],
    "autoload": {
        "psr-4": {
            "SuperFaktura\\ApiClient\\": "src/",
            "SuperFaktura\\ApiClient\\Test\\": "tests/"
        }
    },
    "require": {
        "php": ">=8.2",
        "ext-json": "*",
        "ext-zip": "*",
        "ext-mbstring": "*",
        "symfony/dotenv": "^6.4 | ^7.1 | ^7.2 | ^7.3",
        "guzzlehttp/guzzle": "^7.8",
        "fig/http-message-util": "^1.1",
        "guzzlehttp/psr7": "^2.6",
        "psr/http-factory": "^1.0",
        "psr/http-message": "^2.0",
        "psr/http-client": "^1.0"
    },
    "require-dev": {
        "phpunit/phpunit": "^10.5",
        "phpstan/phpstan": "^1.10",
        "friendsofphp/php-cs-fixer": "^3.49",
        "phpstan/phpstan-strict-rules": "^1.5",
        "phpstan/phpstan-deprecation-rules": "^1.1"
    },
    "scripts": {
        "test:unit": "./vendor/bin/phpunit",
        "test:coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-filter src/ --coverage-html coverage",
        "php:phpstan": "XDEBUG_MODE=off ./vendor/bin/phpstan analyse src tests --memory-limit 256M",
        "php:phpstan-baseline": "XDEBUG_MODE=off ./vendor/bin/phpstan analyse src tests --generate-baseline",
        "php:cs-fix": "XDEBUG_MODE=off ./vendor/bin/php-cs-fixer fix --allow-risky=yes",
        "php:cs-check": "XDEBUG_MODE=off ./vendor/bin/php-cs-fixer fix --dry-run --allow-risky=yes -n 2> /dev/null"
    }
}
