chronostep / chronobrowserplatform
Detects the current browser and current platform
v1.0.1
2023-06-23 06:57 UTC
This package is auto-updated.
Last update: 2025-02-23 10:41:09 UTC
README
Chrono Browser Platform Detection
Intended to return an array containing the currents users platform and browser using
- Simple
- Easy to Install
How to Install
composer require chronostep/chronobrowserplatform
How to use
Include this to the top of your class
use BPDetect;
Just call the following command
$bpresult = BPDetect::detect();
Following command will return an array that looks like this.
array:3 [▼
"browser" => "Google Chrome"
"platform" => "Windows"
"device" => "Not a Mobile"
]