-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathcomposer.json
More file actions
54 lines (54 loc) · 1.67 KB
/
composer.json
File metadata and controls
54 lines (54 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"name": "mobiledetect/mobiledetectlib",
"type": "library",
"description": "Mobile_Detect is a lightweight PHP class for detecting mobile devices. It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.",
"keywords": ["mobile", "mobile detect", "mobile detector", "php mobile detect", "detect mobile devices"],
"homepage": "https://github.com/serbanghita/Mobile-Detect",
"license": "MIT",
"authors": [
{
"name": "Serban Ghita",
"email": "serbanghita@gmail.com",
"homepage": "http://mobiledetect.net",
"role": "Developer"
}
],
"require": {
"php": ">=8.2",
"psr/simple-cache": "^1.0 || ^2.0 || ^3.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "3.95.1",
"phpunit/phpunit": "9.6.34",
"squizlabs/php_codesniffer": "3.13.5",
"phpbench/phpbench": "1.6.1",
"phpstan/phpstan": "2.1.47"
},
"autoload": {
"psr-4": {
"Detection\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DetectionTests\\": "tests/"
}
},
"scripts": {
"bench": "phpbench run --report=aggregate",
"bench:baseline": "phpbench run --report=aggregate --tag=baseline --dump-file=phpbench-baseline.xml",
"bench:compare": "phpbench run --ref=baseline --report=aggregate"
},
"archive": {
"exclude": [
"scripts",
"tests",
"docs",
".github",
".editorconfig",
".gitattributes",
"phpbench.json",
"phpbench-*.xml"
]
}
}