{
    "name": "laravel/agent-detector",
    "description": "Detect if code is running in an AI agent or automated development environment",
    "keywords": [
        "php",
        "ai",
        "agent",
        "detection",
        "cursor",
        "claude",
        "devin",
        "automation"
    ],
    "homepage": "https://github.com/laravel/agent-detector",
    "license": "MIT",
    "support": {
        "issues": "https://github.com/laravel/agent-detector/issues",
        "source": "https://github.com/laravel/agent-detector"
    },
    "authors": [
        {
            "name": "Taylor Otwell",
            "email": "taylor@laravel.com"
        }
    ],
    "require": {
        "php": "^8.2.0"
    },
    "require-dev": {
        "laravel/pint": "^1.24.0",
        "pestphp/pest": "^3.8.5|^4.1.0",
        "pestphp/pest-plugin-type-coverage": "^3.0|^4.0.2",
        "phpstan/phpstan": "^2.1.26",
        "rector/rector": "^2.1.7",
        "symfony/var-dumper": "^7.3.3"
    },
    "autoload": {
        "psr-4": {
            "Laravel\\AgentDetector\\": "src/"
        },
        "files": [
            "src/functions.php"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        },
        "files": [
            "tests/Overrides.php"
        ]
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "config": {
        "sort-packages": true,
        "preferred-install": "dist",
        "allow-plugins": {
            "pestphp/pest-plugin": true
        }
    },
    "scripts": {
        "lint": "pint",
        "refactor": "rector",
        "test:type-coverage": "pest --type-coverage --exactly=100",
        "test:lint": "pint --test",
        "test:unit": "pest",
        "test:types": "phpstan",
        "test:refactor": "rector --dry-run",
        "test": [
            "@test:lint",
            "@test:type-coverage",
            "@test:unit",
            "@test:types",
            "@test:refactor"
        ]
    }
}
