PHPackages                             khalilleo-webagentur/browser-detect - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. khalilleo-webagentur/browser-detect

ActivePackage[Utility &amp; Helpers](/categories/utility)

khalilleo-webagentur/browser-detect
===================================

PHP library for Browser Detection in simple way.

v1.0.0(2y ago)071MITPHPPHP ^8.1

Since Apr 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/khalilleo-webagentur/browser-detect)[ Packagist](https://packagist.org/packages/khalilleo-webagentur/browser-detect)[ RSS](/packages/khalilleo-webagentur-browser-detect/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

monolog
-------

[](#monolog)

PHP library for Browser Detection in a simple way.

### Requirements

[](#requirements)

- PHP `^8.1`

### Installation

[](#installation)

`composer require khalilleo-webagentur/browser-detect`

### Usage

[](#usage)

```
$userAgent = new UserAgent();

$userAgent->getBrowserName();
$userAgent->getBrowserLang();
$userAgent->getPlatform();
$userAgent->getReferer();
$userAgent->isMobile();
$userAgent->isBot();
```

### Example

[](#example)

```
