xref: /plugin/statistics/vendor/matomo/device-detector/composer.json (revision d5ef99ddb7dfb0cfae33e9257bd1d788f682c50f)
1*d5ef99ddSAndreas Gohr{
2*d5ef99ddSAndreas Gohr    "name": "matomo/device-detector",
3*d5ef99ddSAndreas Gohr    "type": "library",
4*d5ef99ddSAndreas Gohr    "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.",
5*d5ef99ddSAndreas Gohr    "keywords": ["useragent","parser","devicedetection"],
6*d5ef99ddSAndreas Gohr    "homepage": "https://matomo.org",
7*d5ef99ddSAndreas Gohr    "license": "LGPL-3.0-or-later",
8*d5ef99ddSAndreas Gohr    "authors": [
9*d5ef99ddSAndreas Gohr        {
10*d5ef99ddSAndreas Gohr            "name": "The Matomo Team",
11*d5ef99ddSAndreas Gohr            "email": "hello@matomo.org",
12*d5ef99ddSAndreas Gohr            "homepage": "https://matomo.org/team/"
13*d5ef99ddSAndreas Gohr        }
14*d5ef99ddSAndreas Gohr    ],
15*d5ef99ddSAndreas Gohr    "support": {
16*d5ef99ddSAndreas Gohr        "forum": "https://forum.matomo.org/",
17*d5ef99ddSAndreas Gohr        "issues": "https://github.com/matomo-org/device-detector/issues",
18*d5ef99ddSAndreas Gohr        "wiki": "https://dev.matomo.org/",
19*d5ef99ddSAndreas Gohr        "source": "https://github.com/matomo-org/matomo"
20*d5ef99ddSAndreas Gohr    },
21*d5ef99ddSAndreas Gohr    "autoload": {
22*d5ef99ddSAndreas Gohr        "psr-4": { "DeviceDetector\\": "" },
23*d5ef99ddSAndreas Gohr        "exclude-from-classmap": ["Tests/"]
24*d5ef99ddSAndreas Gohr    },
25*d5ef99ddSAndreas Gohr    "require": {
26*d5ef99ddSAndreas Gohr        "php": "^7.2|^8.0",
27*d5ef99ddSAndreas Gohr        "mustangostang/spyc": "*"
28*d5ef99ddSAndreas Gohr    },
29*d5ef99ddSAndreas Gohr    "require-dev": {
30*d5ef99ddSAndreas Gohr        "phpunit/phpunit": "^8.5.8",
31*d5ef99ddSAndreas Gohr        "psr/cache": "^1.0.1",
32*d5ef99ddSAndreas Gohr        "psr/simple-cache": "^1.0.1",
33*d5ef99ddSAndreas Gohr        "matthiasmullie/scrapbook": "^1.4.7",
34*d5ef99ddSAndreas Gohr        "phpstan/phpstan": "^1.10.44",
35*d5ef99ddSAndreas Gohr        "mayflower/mo4-coding-standard": "^v9.0.0",
36*d5ef99ddSAndreas Gohr        "slevomat/coding-standard": "<8.16.0",
37*d5ef99ddSAndreas Gohr        "symfony/yaml": "^5.1.7"
38*d5ef99ddSAndreas Gohr    },
39*d5ef99ddSAndreas Gohr    "suggest": {
40*d5ef99ddSAndreas Gohr        "doctrine/cache": "Can directly be used for caching purpose",
41*d5ef99ddSAndreas Gohr        "ext-yaml": "Necessary for using the Pecl YAML parser"
42*d5ef99ddSAndreas Gohr    },
43*d5ef99ddSAndreas Gohr    "scripts": {
44*d5ef99ddSAndreas Gohr      "php-cs-fixed": "php vendor/bin/phpcbf"
45*d5ef99ddSAndreas Gohr    },
46*d5ef99ddSAndreas Gohr    "archive": {
47*d5ef99ddSAndreas Gohr        "exclude": ["/autoload.php"]
48*d5ef99ddSAndreas Gohr    },
49*d5ef99ddSAndreas Gohr    "replace": {
50*d5ef99ddSAndreas Gohr        "piwik/device-detector":"self.version"
51*d5ef99ddSAndreas Gohr    },
52*d5ef99ddSAndreas Gohr    "config": {
53*d5ef99ddSAndreas Gohr        "allow-plugins": {
54*d5ef99ddSAndreas Gohr            "dealerdirect/phpcodesniffer-composer-installer": true
55*d5ef99ddSAndreas Gohr        }
56*d5ef99ddSAndreas Gohr    }
57*d5ef99ddSAndreas Gohr}
58