{
    "name": "rahkarnet/rahkar-toolkit",
    "description": "راهکار وردپرس (Rahkar Toolkit) — Persian/Iranian toolkit for WordPress & WooCommerce, built as one modular plugin.",
    "type": "wordpress-plugin",
    "license": "GPL-2.0-or-later",
    "authors": [
        {
            "name": "Rahkarnet",
            "homepage": "https://rahkarnet.com"
        }
    ],
    "require": {
        "php": ">=8.0"
    },
    "require-dev": {
        "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
        "opis/json-schema": "^2.3",
        "php-stubs/woocommerce-stubs": "^11.1",
        "phpcompatibility/phpcompatibility-wp": "^2.1",
        "phpstan/phpstan": "^1.11",
        "phpunit/phpunit": "^9.6",
        "squizlabs/php_codesniffer": "^3.9",
        "szepeviktor/phpstan-wordpress": "^1.3",
        "wp-coding-standards/wpcs": "^3.1"
    },
    "autoload": {
        "psr-4": {
            "Rahkar\\WP\\": "src/"
        }
    },
    "config": {
        "optimize-autoloader": true,
        "sort-packages": true,
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true
        }
    },
    "scripts": {
        "lint": "phpcs",
        "lint:fix": "phpcbf",
        "analyse": "phpstan analyse --memory-limit=3G",
        "build": "php bin/build.php",
        "trace": [
            "php bin/boot-trace.php --context=frontend",
            "php bin/boot-trace.php --context=admin",
            "php bin/boot-trace.php --context=cron"
        ],
        "contract": "php bin/contract-check.php",
        "test": "phpunit"
    }
}
