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: 2024-05-23 09:13:15 UTC


README

48752111?v=4

Latest Stable Version License

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"
]