chronostep/chronobrowserplatform

Detects the current browser and current platform

v1.0.5 2025-06-24 05:31 UTC

This package is auto-updated.

Last update: 2025-06-26 02:34:34 UTC


README

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" => ""
  "public_ip" => "43.226.6.160"
]