Skip to content
Open
Show file tree
Hide file tree
Changes from 58 commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
30a7f7d
Wortmann to Terra
Sep 10, 2025
f603f9f
VOX to VOX Electronics
Sep 10, 2025
ba4eb54
VK Mobile to Viable Korea
Sep 10, 2025
9f34cd0
TWX to TWZ Corporation
Sep 10, 2025
2059669
Twoe to 2E
Sep 10, 2025
ae0615f
TPS to SZ TPS
Sep 10, 2025
f57b6b6
Spark to Spark NZ
Sep 10, 2025
02e0b1b
TechSmart to Techmade
Sep 10, 2025
837379d
Stream to Stream System
Sep 10, 2025
148e3a1
Moved Hisense devices to Smartfren
Sep 10, 2025
084c0ef
UE is Newman
Sep 11, 2025
a3b877c
Sprint to Quanta Computer
Sep 11, 2025
f03e519
Star to Kingelon
Sep 11, 2025
ee586d2
Megamax and Polarline to Polar
Sep 11, 2025
6db928a
White Mobile to Cherry Mobile
Sep 13, 2025
0aa2f69
Wanmukang to Zhongyu Display
Sep 13, 2025
a24c1a0
Padpro to 7Ke tree
Sep 13, 2025
26ac48e
P-UP to Mode 1
Sep 13, 2025
e27f217
MMI to ARRIS
Sep 13, 2025
5aad0a8
MLAB to Microlab
Sep 13, 2025
4a93667
MDTV to OTT
Sep 13, 2025
f84aca6
LPX-G to OTT
Sep 13, 2025
a0dc613
HLLO to Exertis
Sep 13, 2025
b7c3f8d
High Q to EPIK Learning
Sep 13, 2025
667e9ee
BASE to Unikalne Smartphones
Sep 13, 2025
b5ede6e
Cloud to Cloud Mobile
Sep 13, 2025
80099f8
Cloudpad to Cloudfone
Sep 13, 2025
49a0c3a
Crius Mea to Ooredoo
Sep 13, 2025
02b403c
Dazen to Coolpad
Sep 13, 2025
fc1b13e
Digit4G to Digit
Sep 13, 2025
eb2d828
Ditecma to Idea GTO
Sep 13, 2025
83b5fb8
DMM to Dream Multimedia
Sep 13, 2025
4389594
Dreamtab to Powerway
Sep 14, 2025
1806ae6
EKINOX to iGet
Sep 14, 2025
26ce0fa
Ericy to Ericsson
Sep 14, 2025
4c5a78f
Gini to Pelephone
Sep 14, 2025
2c18a1d
H133 to Ceibal
Sep 14, 2025
0841651
ROiK to KAP
Sep 14, 2025
96d5bc1
RoverPad to Rover Computers
Sep 14, 2025
ceb310d
Correcting missed brand changes
Sep 14, 2025
bb9051b
Correct device type
Sep 21, 2025
144434d
Fixing tests
Sep 21, 2025
1783dd4
Merge branch 'master' into BrandsRenaming
Sep 21, 2025
a68083f
Fixing tests
Sep 21, 2025
e1fa09c
Merge branch 'BrandsRenaming' of https://github.com/Simbiat/device-de…
Sep 21, 2025
19ff47b
Fix regex
Sep 21, 2025
35a58b4
Restored removed short names
Oct 7, 2025
8b8c2bd
Merge branch 'master' into BrandsRenaming
Oct 7, 2025
835ee8e
Corrected comments style
Oct 7, 2025
0cd0522
Merge branch 'BrandsRenaming' of https://github.com/Simbiat/device-de…
Oct 7, 2025
ba57140
Alternative solution for historic short names
Oct 21, 2025
bc6f62d
Merge branch 'master' into BrandsRenaming
Oct 21, 2025
b5d789a
Fully qualified name
Oct 21, 2025
fadd8bb
Line length
Oct 21, 2025
d638b70
Adjusted comment
Oct 21, 2025
de466d5
Workaround for numeric keys
Oct 21, 2025
71d35d3
Added missing space
Oct 21, 2025
167d02b
Adjusted phrasing
Oct 21, 2025
4b7d55f
Changes as per comments in PR
Nov 19, 2025
f0ff6dd
Merge branch 'master' into BrandsRenaming
Simbiat Nov 19, 2025
61ea76b
Removed duplicate
Nov 19, 2025
c755ca8
Merge branch 'master' into BrandsRenaming
Simbiat Dec 15, 2025
bca4c60
Merge branch 'master' into BrandsRenaming
Simbiat Dec 30, 2025
e74efec
Merge branch 'master' into BrandsRenaming
Simbiat Jan 15, 2026
efac743
Added Pelephone URL
Simbiat Jan 21, 2026
ae8bca0
Merge branch 'master' into BrandsRenaming
Simbiat Jan 21, 2026
09668f3
Added Techmade URL
Simbiat Jan 21, 2026
928d167
Revert Ditecma
Simbiat Jan 21, 2026
58d9a89
Revert Gini
Simbiat Jan 21, 2026
027643d
Fix for Ditecma test
Simbiat Jan 21, 2026
553ae6e
Merge branch 'master' into BrandsRenaming
Simbiat Jan 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 65 additions & 41 deletions Parser/Device/AbstractDeviceParser.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Tests/DeviceDetectorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ public function testCheckRegexRestrictionEndCondition(): void
*/
public function testDuplicateBrands(): void
{
$brands = \array_map('strtolower', AbstractDeviceParser::$deviceBrands);
$brands = \array_map('strtolower', AbstractDeviceParser::$legacyShortNames + AbstractDeviceParser::$deviceBrands);
$unique = \array_unique($brands);
$duplicates = \array_diff_assoc($brands, $unique);

Expand Down
4 changes: 2 additions & 2 deletions Tests/fixtures/car_browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -625,8 +625,8 @@
engine_version: 110.0.0.0
device:
type: car browser
brand: ROiK
model: "10"
brand: KAP
model: ROiK-10
os_family: Android
browser_family: Chrome
-
Expand Down
2 changes: 1 addition & 1 deletion Tests/fixtures/desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8531,7 +8531,7 @@
engine_version: 103.0.0.0
device:
type: desktop
brand: Wanmukang
brand: Zhongyu Display
model: ZC-339
os_family: Android
browser_family: Chrome
Expand Down
40 changes: 20 additions & 20 deletions Tests/fixtures/feature_phone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@
engine_version: ""
device:
type: feature phone
brand: VK Mobile
brand: Viable Korea
model: VK700
os_family: Real-time OS
browser_family: Unknown
Expand All @@ -948,7 +948,7 @@
engine_version: ""
device:
type: feature phone
brand: VK Mobile
brand: Viable Korea
model: VK900
os_family: Real-time OS
browser_family: Unknown
Expand Down Expand Up @@ -2772,8 +2772,8 @@
engine_version: "48.0"
device:
type: feature phone
brand: Digit4G
model: Bold
brand: Digit
model: Digit4G Bold
os_family: Firefox OS
browser_family: Firefox
-
Expand All @@ -2790,8 +2790,8 @@
engine_version: "48.0"
device:
type: feature phone
brand: Digit4G
model: Defender
brand: Digit
model: Digit4G Defender
os_family: Firefox OS
browser_family: Firefox
-
Expand All @@ -2808,8 +2808,8 @@
engine_version: "48.0"
device:
type: feature phone
brand: Digit4G
model: Elite
brand: Digit
model: Digit4G Elite
os_family: Firefox OS
browser_family: Firefox
-
Expand All @@ -2826,8 +2826,8 @@
engine_version: "48.0"
device:
type: feature phone
brand: Digit4G
model: Music
brand: Digit
model: Digit4G Music
os_family: Firefox OS
browser_family: Firefox
-
Expand All @@ -2844,8 +2844,8 @@
engine_version: "48.0"
device:
type: feature phone
brand: Digit4G
model: Power
brand: Digit
model: Digit4G Power
os_family: Firefox OS
browser_family: Firefox
-
Expand All @@ -2862,8 +2862,8 @@
engine_version: "48.0"
device:
type: feature phone
brand: Digit4G
model: Star
brand: Digit
model: Digit4G Star
os_family: Firefox OS
browser_family: Firefox
-
Expand All @@ -2880,8 +2880,8 @@
engine_version: "48.0"
device:
type: feature phone
brand: Digit4G
model: Lite
brand: Digit
model: Digit4G Lite
os_family: Firefox OS
browser_family: Firefox
-
Expand All @@ -2898,8 +2898,8 @@
engine_version: "48.0"
device:
type: feature phone
brand: Digit4G
model: Power Max
brand: Digit
model: Digit4G Power Max
os_family: Firefox OS
browser_family: Firefox
-
Expand All @@ -2916,8 +2916,8 @@
engine_version: "48.0"
device:
type: feature phone
brand: Digit4G
model: Shine
brand: Digit
model: Digit4G Shine
os_family: Firefox OS
browser_family: Firefox
-
Expand Down
4 changes: 2 additions & 2 deletions Tests/fixtures/phablet-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2811,8 +2811,8 @@
engine_version: 86.0.4240.110
device:
type: phablet
brand: P-UP
model: Mode 1 RR
brand: Mode 1
model: RR
os_family: Android
browser_family: Chrome
-
Expand Down
4 changes: 2 additions & 2 deletions Tests/fixtures/phablet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6220,8 +6220,8 @@
engine_version: 86.0.4240.185
device:
type: phablet
brand: P-UP
model: Mode 1 RS
brand: Mode 1
model: RS
os_family: Android
browser_family: Chrome
-
Expand Down
2 changes: 1 addition & 1 deletion Tests/fixtures/smartphone-11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6774,7 +6774,7 @@
engine_version: 78.0.3904.96
device:
type: smartphone
brand: RoverPad
brand: Rover Computers
model: ""
os_family: Android
browser_family: Chrome
Expand Down
21 changes: 11 additions & 10 deletions Tests/fixtures/smartphone-12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@
engine_version: 43.0.2357.92
device:
type: smartphone
brand: Star
brand: Kingelon
model: N8800
os_family: Android
browser_family: Chrome
Expand All @@ -639,7 +639,7 @@
engine_version: 40.0.2214.109
device:
type: smartphone
brand: Star
brand: Kingelon
model: N9500
os_family: Android
browser_family: Chrome
Expand All @@ -657,7 +657,7 @@
engine_version: "534.30"
device:
type: smartphone
brand: Star
brand: Kingelon
model: N9600
os_family: Android
browser_family: Android Browser
Expand All @@ -675,7 +675,7 @@
engine_version: 34.0.1847.114
device:
type: smartphone
brand: Star
brand: Kingelon
model: N9700
os_family: Android
browser_family: Chrome
Expand All @@ -693,7 +693,7 @@
engine_version: "534.30"
device:
type: smartphone
brand: Star
brand: Kingelon
model: N9800
os_family: Android
browser_family: Android Browser
Expand All @@ -711,7 +711,7 @@
engine_version: "534.30"
device:
type: smartphone
brand: Star
brand: Kingelon
model: N9977
os_family: Android
browser_family: Android Browser
Expand All @@ -729,8 +729,9 @@
engine_version: 30.0.0.0
device:
type: smartphone
brand: Star
model: Note 3
brand: Kingelon
#Previously "Note 3", probably because this is Samsung Note 3 clone, but officially it's N9000. Similar model was released as "Note 3" under 5Star brand
model: N9000
os_family: Android
browser_family: Chrome
-
Expand Down Expand Up @@ -10783,8 +10784,8 @@
engine_version: 104.0.0.0
device:
type: smartphone
brand: Digit4G
model: Play1
brand: Digit
model: Digit4G Play1
os_family: Android
browser_family: Chrome
-
Expand Down
5 changes: 3 additions & 2 deletions Tests/fixtures/smartphone-15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9532,8 +9532,9 @@
engine_version: 103.0.0.0
device:
type: smartphone
brand: H133
model: Betacrux
brand: Ceibal
#https://ceibal.edu.uy/institucional/articulos/hardware-beta-crux/
model: H133 Beta Crux
os_family: Android
browser_family: Chrome
-
Expand Down
4 changes: 2 additions & 2 deletions Tests/fixtures/smartphone-19.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3073,7 +3073,7 @@
engine_version: 85.0.4183.81
device:
type: smartphone
brand: Twoe
brand: 2E
model: F534L
os_family: Android
browser_family: Chrome
Expand All @@ -3091,7 +3091,7 @@
engine_version: 85.0.4183.81
device:
type: smartphone
brand: Twoe
brand: 2E
model: F572L
os_family: Android
browser_family: Chrome
Expand Down
2 changes: 1 addition & 1 deletion Tests/fixtures/smartphone-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9300,7 +9300,7 @@
engine_version: 87.0.4280.141
device:
type: smartphone
brand: Spark
brand: Spark NZ
model: Plus 3
os_family: Android
browser_family: Chrome
Expand Down
12 changes: 6 additions & 6 deletions Tests/fixtures/smartphone-20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7219,8 +7219,8 @@
engine_version: 80.0.3987.87
device:
type: smartphone
brand: Gini
model: W7
brand: Pelephone
model: Gini W7
os_family: Android
browser_family: Chrome
-
Expand All @@ -7237,8 +7237,8 @@
engine_version: 76.0.3809.132
device:
type: smartphone
brand: Gini
model: N8
brand: Pelephone
model: Gini N8
os_family: Android
browser_family: Opera
-
Expand All @@ -7255,8 +7255,8 @@
engine_version: 85.0.4183.81
device:
type: smartphone
brand: Gini
model: S5 Pro
brand: Pelephone
model: Gini S5 Pro
os_family: Android
browser_family: Chrome
-
Expand Down
Loading
Loading