{
    "name": "phpcfdi/cfdi-sat-scraper",
    "description": "Web Scraping para extraer facturas electrónicas desde la página del SAT",
    "license": "MIT",
    "type": "library",
    "keywords": [
        "sat",
        "cfdi",
        "scrap",
        "mexico"
    ],
    "authors": [
        {
            "name": "Cesar Aguilera",
            "email": "cesargnu29@gmail.com"
        },
        {
            "name": "Carlos C Soto",
            "email": "eclipxe13@gmail.com"
        }
    ],
    "require": {
        "php": ">=7.3",
        "ext-curl": "*",
        "ext-dom": "*",
        "ext-fileinfo": "*",
        "ext-json": "*",
        "ext-mbstring": "*",
        "ext-openssl": "*",
        "eclipxe/enum": "^0.2.0",
        "eclipxe/micro-catalog": "^0.1.3",
        "guzzlehttp/guzzle": "^7.0",
        "guzzlehttp/promises": "^2.0",
        "phpcfdi/credentials": "^1.1",
        "phpcfdi/image-captcha-resolver": "^0.2.4",
        "psr/http-message": "^1.1 || ^2.0",
        "symfony/css-selector": "^5.4 || ^6.0 || ^7.0",
        "symfony/dom-crawler": "^5.4 || ^6.0 || ^7.0"
    },
    "require-dev": {
        "ext-iconv": "*",
        "fakerphp/faker": "^1.13",
        "phpcfdi/image-captcha-resolver-boxfactura-ai": "^0.1.0",
        "phpunit/phpunit": "^9.5",
        "symfony/dotenv": "^5.4 || ^6.0 || ^7.0"
    },
    "autoload": {
        "psr-4": {
            "PhpCfdi\\CfdiSatScraper\\": "src"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "PhpCfdi\\CfdiSatScraper\\Tests\\": "tests"
        }
    },
    "config": {
        "allow-plugins": {
            "php-http/discovery": false
        },
        "optimize-autoloader": true,
        "preferred-install": {
            "*": "dist"
        }
    },
    "scripts": {
        "post-install-cmd": "OnnxRuntime\\Vendor::check",
        "post-update-cmd": "OnnxRuntime\\Vendor::check",
        "dev:build": [
            "@dev:fix-style",
            "@dev:tests"
        ],
        "dev:check-style": [
            "@php tools/composer-normalize normalize --dry-run",
            "@php -r 'exit(intval(PHP_VERSION_ID >= 74000));' || $PHP_BINARY tools/php-cs-fixer fix --dry-run --verbose",
            "@php tools/phpcs --colors -sp"
        ],
        "dev:fix-style": [
            "@php tools/composer-normalize normalize",
            "@php -r 'exit(intval(PHP_VERSION_ID >= 74000));' || $PHP_BINARY tools/php-cs-fixer fix --verbose",
            "@php tools/phpcbf --colors -sp"
        ],
        "dev:tests": [
            "@dev:check-style",
            "@php vendor/bin/phpunit --testdox --verbose",
            "@php tools/phpstan analyze --no-progress --verbose"
        ]
    },
    "scripts-descriptions": {
        "dev:build": "DEV: run dev:fix-style and dev:tests, run before pull request",
        "dev:check-style": "DEV: search for code style errors using composer-normalize, php-cs-fixer and phpcs",
        "dev:fix-style": "DEV: fix code style errors using composer-normalize, php-cs-fixer and phpcbf",
        "dev:tests": "DEV: run executes phpunit tests"
    },
    "recommended": {
        "phpcfdi/image-captcha-resolver-boxfactura-ai": "Permite resolver los captchas localmente con inteligencia artificial"
    }
}
