{
    "name": "coduo/php-matcher",
    "type": "library",
    "description": "PHP Matcher enables you to match values with patterns",
    "keywords": ["json", "matcher", "tests", "match"],
    "license": "MIT",
    "authors": [
        {
            "name": "Michał Dąbrowski",
            "email": "dabrowski@brillante.pl"
        },
        {
            "name": "Norbert Orzechowicz",
            "email": "norbert@orzechowicz.pl"
        }
    ],
    "require": {
        "php": "~8.1 || ~8.2 || ~8.3 || ~8.4",
        "ext-filter": "*",
        "ext-json": "*",
        "ext-simplexml": "*",
        "aeon-php/calendar": "^1.0.6",
        "coduo/php-to-string": "^3",
        "doctrine/lexer": "^3.0"
    },
    "require-dev": {
        "phpunit/phpunit": "^10.4",
        "openlss/lib-array2xml": "^1.0",
        "symfony/expression-language": "^5.4|^6.4|^7.0",
        "symfony/cache": "^5.4|^6.4",
        "nikic/php-parser": "^4.0",
        "symfony/var-exporter": "^5.4|^6.4|^7.0"
    },
    "suggest": {
        "openlss/lib-array2xml": "In order ot use Coduo\\PHPMatcher\\Matcher\\XmlMatcher",
        "symfony/expression-language" : "In order to use Coduo\\PHPMatcher\\Matcher\\ExpressionMatcher"
    },
    "autoload": {
        "psr-4": {
            "Coduo\\PHPMatcher\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Coduo\\PHPMatcher\\Tests\\": "tests/",
            "Coduo\\PHPMatcher\\Benchmark\\": "benchmark/Coduo/PHPMatcher/Benchmark/"
        }
    },
    "config": {
        "sort-packages": true,
        "platform": {
            "php": "8.1"
        }
    },
    "scripts": {
        "benchmark": [
            "Composer\\Config::disableProcessTimeout",
            "tools\/phpbench\/vendor\/bin\/phpbench run --report=matcher"
        ],
        "build": [
            "@static:analyze",
            "@test",
            "@test:mutation"
        ],
        "cs:php:fix": [
            "tools\/cs-fixer\/vendor\/bin\/php-cs-fixer fix --using-cache=no"
        ],
        "test" : [
            "vendor\/bin\/phpunit --coverage-html var/phpunit/coverage/html --coverage-filter src"
        ],
        "test:mutation": [
            "Composer\\Config::disableProcessTimeout",
            "tools\/infection\/vendor\/bin\/infection -j2"
        ],
        "static:analyze": [
            "tools\/cs-fixer\/vendor\/bin\/php-cs-fixer fix --dry-run",
            "tools\/psalm\/vendor\/bin\/psalm --shepherd --stats",
            "tools\/phpstan\/vendor\/bin\/phpstan analyze -c phpstan.neon"
        ],
        "tools:install": [
            "composer install --working-dir=./tools/cs-fixer",
            "composer install --working-dir=./tools/infection",
            "composer install --working-dir=./tools/phpbench",
            "composer install --working-dir=./tools/phpstan",
            "composer install --working-dir=./tools/psalm --ignore-platform-req=php"
        ],
        "tools:update": [
            "composer update --working-dir=./tools/cs-fixer",
            "composer update --working-dir=./tools/infection",
            "composer update --working-dir=./tools/phpbench",
            "composer update --working-dir=./tools/phpstan",
            "composer update --working-dir=./tools/psalm --ignore-platform-req=php"
        ],
        "post-install-cmd": [
            "@tools:install"
        ],
        "post-update-cmd": [
            "@tools:update"
        ]
    }
}
