PHPackages                             luizjr/identify - 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. luizjr/identify

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

luizjr/identify
===============

A Laravel 6 Package Provider to Identify/detect a user's browser, device, operating system and Language

1.3.4(6y ago)07111MITPHPPHP &gt;=5.5.9

Since Apr 3Pushed 6y ago1 watchersCompare

[ Source](https://github.com/luizjr/Identify)[ Packagist](https://packagist.org/packages/luizjr/identify)[ RSS](/packages/luizjr-identify/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)Dependencies (2)Versions (7)Used By (1)

Identify
========

[](#identify)

> Laravel 6 Package to identify a User's Browser, Operating System, Language and Device, forked from consoletvs/identify

**NOTE: Works on the latest laravel version**

Installation
------------

[](#installation)

[PHP](https://php.net) 5.4+ or [HHVM](http://hhvm.com) 3.3+, and [Composer](https://getcomposer.org) are required.

To get the latest version of Laravel Identify, simply add the following line to the require block of your `composer.json` file.

```
composer require luizjr/identify

```

You'll then need to run `composer install` or `composer update` to download it and have the autoloader updated.

Once Laravel Identify is installed, you need to register the service provider. Open up `config/app.php` and add the following to the `providers` key.

- `LuizJr\Identify\IdentifyServiceProvider::class`

Also, register the Facade like so:

```
'aliases' => [
    ...
    'Identify' => LuizJr\Identify\Facades\IdentityFacade::class,
    ...
]
```

Configuration
-------------

[](#configuration)

To get started, you'll need to publish all vendor assets:

```
$ php artisan vendor:publish --provider="LuizJr\Identify\IdentifyServiceProvider"
```

Browser Detection
-----------------

[](#browser-detection)

The browser method allows you to detect a user's browser and version.

### Browsers Detected

[](#browsers-detected)

- Vivaldi
- Opera
- Opera Mini
- WebTV
- Internet Explorer
- Pocket Internet Explorer
- Microsoft Edge
- Konqueror
- iCab
- OmniWeb
- Firebird
- Firefox
- Iceweasel
- Shiretoko
- Mozilla
- Amaya
- Lynx
- Safari
- Chrome
- Navigator
- GoogleBot
- Yahoo! Slurp
- W3C Validator
- BlackBerry
- IceCat
- Nokia S60 OSS Browser
- Nokia Browser
- MSN Browser
- MSN Bot
- Netscape Navigator
- Galeon
- NetPositive
- Phoenix
- SeaMonkey
- Yandex Browser

### Usage

[](#usage)

```
/**
 * Gets the version of the user's browser
 * @return string
 */
Identify::browser()->getVersion()

/**
 * Gets the name of the user's browser
 * @return string
 */
Identify::browser()->getName()
```

OS Detection
------------

[](#os-detection)

The os method allows you to detect a user's operating system and version.

### OS Detected

[](#os-detected)

- Windows
- Windows Phone
- OS X
- iOS
- Android
- Chrome OS
- Linux
- SymbOS
- Nokia
- BlackBerry
- FreeBSD
- OpenBSD
- NetBSD
- OpenSolaris
- SunOS
- OS2
- BeOS

### Usage

[](#usage-1)

```
/**
 * Gets the version of the user's Operating System
 * @return string
 */
Identify::os()->getVersion()

/**
 * Gets the name of the user's Operating System
 * @return string
 */
Identify::os()->getName()
```

Device Detection
----------------

[](#device-detection)

The device method allows you to detect a user's device.

### Device Detected

[](#device-detected)

- iPad
- iPhone
- Windows Phone

### Usage

[](#usage-2)

```
/**
 * Gets the name of the user's device
 * @return string
 */
Identify::device()->getName()
```

Language Detection
------------------

[](#language-detection)

The language method allows you to detect a user's language.

### Usage

[](#usage-3)

```
/**
 * Gets the language that the user's browser contents are displayed in
 * @return string
 */
Identify::lang()->getLanguage()
```

Contributing
------------

[](#contributing)

Please feel free to fork this package and contribute by submitting a pull request to enhance the functionalities.

How can I thank you?
--------------------

[](#how-can-i-thank-you)

Why not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or HackerNews? Spread the word!

Don't forget to [follow me on twitter](https://twitter.com/luizjrdeveloper)!

Thanks! Luiz Jr.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 54.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~178 days

Recently: every ~218 days

Total

6

Last Release

2435d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d4912b11e69804e9fd8ac6e54331c8c87ef715f504e2e5a7f6bec750156f35d9?d=identicon)[luizjr](/maintainers/luizjr)

---

Top Contributors

[![luizjr](https://avatars.githubusercontent.com/u/1474563?v=4)](https://github.com/luizjr "luizjr (6 commits)")[![ConsoleTVs](https://avatars.githubusercontent.com/u/6124435?v=4)](https://github.com/ConsoleTVs "ConsoleTVs (5 commits)")

---

Tags

browserlaravellanguagegithubdetectoperating systemopen-source

### Embed Badge

![Health badge](/badges/luizjr-identify/health.svg)

```
[![Health](https://phpackages.com/badges/luizjr-identify/health.svg)](https://phpackages.com/packages/luizjr-identify)
```

###  Alternatives

[unicodeveloper/laravel-identify

A Laravel 5 Package Provider to Identify/detect a user's browser, device, operating system and Language

19322.0k](/packages/unicodeveloper-laravel-identify)[consoletvs/identify

A Laravel 5 Package Provider to Identify/detect a user's browser, device, operating system and Language

2775.4k6](/packages/consoletvs-identify)[hisorange/browser-detect

Browser &amp; Mobile detection package for Laravel.

1.1k10.1M50](/packages/hisorange-browser-detect)[unicodeveloper/laravel-emoji

A Laravel 5 Package for Using &amp; Working With Emojis

21024.9k](/packages/unicodeveloper-laravel-emoji)[codezero/laravel-localizer

Automatically detect and set an app locale that matches your visitor's preference.

50394.3k4](/packages/codezero-laravel-localizer)[prevailexcel/laravel-action-service-trait

A simple Laravel package to create actions, traits and services using artisan commands

143.0k](/packages/prevailexcel-laravel-action-service-trait)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
