{
    "name": "matomo/device-detector",
    "type": "library",
    "description": "The Universal Device Detection library, that parses User Agents and detects devices (desktop, tablet, mobile, tv, cars, console, etc.), clients (browsers, media players, mobile apps, feed readers, libraries, etc), operating systems, devices, brands and models.",
    "keywords": ["useragent","parser","devicedetection"],
    "homepage": "https://matomo.org",
    "license": "LGPL-3.0-or-later",
    "authors": [
        {
            "name": "The Matomo Team",
            "email": "hello@matomo.org",
            "homepage": "https://matomo.org/team/"
        }
    ],
    "support": {
        "forum": "https://forum.matomo.org/",
        "issues": "https://github.com/matomo-org/device-detector/issues",
        "wiki": "https://dev.matomo.org/",
        "source": "https://github.com/matomo-org/matomo"
    },
    "autoload": {
        "psr-4": { "DeviceDetector\\": "" },
        "exclude-from-classmap": ["Tests/"]
    },
    "require": {
        "php": "^7.2|^8.0",
        "mustangostang/spyc": "*"
    },
    "require-dev": {
        "phpunit/phpunit": "^8.5.8",
        "psr/cache": "^1.0.1",
        "psr/simple-cache": "^1.0.1",
        "matthiasmullie/scrapbook": "^1.4.7",
        "phpstan/phpstan": "^1.10.44",
        "mayflower/mo4-coding-standard": "^v9.0.0",
        "slevomat/coding-standard": "<8.16.0",
        "symfony/yaml": "^5.1.7"
    },
    "suggest": {
        "doctrine/cache": "Can directly be used for caching purpose",
        "ext-yaml": "Necessary for using the Pecl YAML parser"
    },
    "scripts": {
      "php-cs-fixed": "php vendor/bin/phpcbf"
    },
    "archive": {
        "exclude": ["/autoload.php"]
    },
    "replace": {
        "piwik/device-detector":"self.version"
    },
    "config": {
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true
        }
    }
}
