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