{
    "name": "albert-wp/albert-ai-butler",
    "description": "At your service — Albert connects AI assistants to your WordPress site so they can manage content, handle tasks, and keep things running smoothly.",
    "type": "wordpress-plugin",
    "license": "GPL-2.0-or-later",
    "authors": [
        {
            "name": "Mark Jansen - Your Mark Media",
            "email": "info@yourmark.nl",
            "homepage": "https://yourmark.nl"
        }
    ],
    "require": {
        "php": ">=8.1",
        "league/oauth2-server": "^9.3",
        "nyholm/psr7": "^1.8"
    },
    "require-dev": {
        "coenjacobs/mozart": "^1.1",
        "php-stubs/woocommerce-stubs": "^10.4",
        "phpstan/extension-installer": "*",
        "phpstan/phpstan": "*",
        "phpunit/phpunit": "^9.0",
        "squizlabs/php_codesniffer": "^3.7",
        "szepeviktor/phpstan-wordpress": "*",
        "wordpress/mcp-adapter": "^0.5.0",
        "wordpress/php-mcp-schema": "^0.1.0",
        "wp-coding-standards/wpcs": "^3.0",
        "yoast/phpunit-polyfills": "^2.0"
    },
    "autoload": {
        "psr-4": {
            "Albert\\": "src/",
            "Albert\\Vendor\\": "vendor-prefixed/"
        },
        "files": [
            "src/functions.php"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Albert\\Tests\\": "tests/"
        }
    },
    "extra": {
        "mozart": {
            "dep_namespace": "Albert\\Vendor\\",
            "dep_directory": "/vendor-prefixed/",
            "classmap_directory": "/vendor-prefixed/classes/",
            "classmap_prefix": "Albert_Vendor_",
            "packages": [
                "wordpress/mcp-adapter",
                "wordpress/php-mcp-schema"
            ],
            "delete_vendor_directories": true
        }
    },
    "scripts": {
        "phpcs": "phpcs src/",
        "phpcbf": "phpcbf src/",
        "phpstan": "phpstan analyse",
        "test": "phpunit --configuration phpunit-unit.xml.dist",
        "test:unit": "phpunit --configuration phpunit-unit.xml.dist",
        "test:integration": "phpunit --configuration phpunit.xml.dist",
        "lint": "find src/ tests/ -name '*.php' -exec php -l {} \\;",
        "mozart": "test -f vendor/bin/mozart && vendor/bin/mozart compose && composer dump-autoload --no-scripts || echo 'Mozart not installed (expected with --no-dev); skipping scoped-dependency generation.'",
        "post-install-cmd": [
            "@mozart"
        ],
        "post-update-cmd": [
            "@mozart"
        ]
    },
    "config": {
        "optimize-autoloader": true,
        "sort-packages": true,
        "platform": {
            "php": "8.1"
        },
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "phpstan/extension-installer": true
        }
    }
}
