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

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

misterpaladin/laravel-identify
==============================

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

1.1.4(8y ago)13.6kMITPHPPHP &gt;=5.5.9

Since Jan 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/misterpaladin/laravel-identify)[ Packagist](https://packagist.org/packages/misterpaladin/laravel-identify)[ RSS](/packages/misterpaladin-laravel-identify/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)Dependencies (6)Versions (8)Used By (0)

laravel-identify
================

[](#laravel-identify)

[![Latest Stable Version](https://camo.githubusercontent.com/5dddea4c70a15345cb0f8070b89482be89b379a6e4671b2c5ff8c55da4269e19/68747470733a2f2f706f7365722e707567782e6f72672f756e69636f646576656c6f7065722f6c61726176656c2d6964656e746966792f762f737461626c652e737667)](https://packagist.org/packages/unicodeveloper/laravel-identify)[![](https://camo.githubusercontent.com/984f6792e3d81e34b782c12770dfd5e6153ea75f5e71d8e668933b988ba1a81f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f756e69636f646576656c6f7065722d617070726f7665642d627269676874677265656e2e737667)](https://camo.githubusercontent.com/984f6792e3d81e34b782c12770dfd5e6153ea75f5e71d8e668933b988ba1a81f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f756e69636f646576656c6f7065722d617070726f7665642d627269676874677265656e2e737667)[![License](https://camo.githubusercontent.com/ded4f429d8cf9c2f0b0db82ee24f5e051856bbc793ce8e0e77b21ce1fd67a594/68747470733a2f2f706f7365722e707567782e6f72672f756e69636f646576656c6f7065722f6c61726176656c2d6964656e746966792f6c6963656e73652e737667)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/b1fc33dcc4c5c6356f46c39e4f3d233e9385e4c74b7143cb9c3fdcf6909062fc/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f756e69636f646576656c6f7065722f6c61726176656c2d6964656e746966792e737667)](https://travis-ci.org/unicodeveloper/laravel-identify)[![Coveralls](https://camo.githubusercontent.com/2eb65750fc93dd8f8c525e18e9d1584396fa7f8afe10f93286b4d8de93740ebc/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f756e69636f646576656c6f7065722f6c61726176656c2d6964656e746966792f6d61737465722e737667)](https://coveralls.io/github/unicodeveloper/laravel-identify?branch=master)[![Quality Score](https://camo.githubusercontent.com/113269392b6a92b4cfabc982e337f02c867e933a360e44eaaeabc024bba33c17/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f756e69636f646576656c6f7065722f6c61726176656c2d6964656e746966792e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/unicodeveloper/laravel-identify)[![Total Downloads](https://camo.githubusercontent.com/b49a688cdffaf6c2d0a2baf3649963bf7c18f36ae64e7f824bb8457a9475a4e4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f756e69636f646576656c6f7065722f6c61726176656c2d6964656e746966792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/unicodeveloper/laravel-identify)

> Laravel 5 Package to identify a User's Browser, Operating System, Language and Device

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.

```
"unicodeveloper/laravel-identify": "1.1.*"

```

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.

- `Unicodeveloper\Identify\IdentifyServiceProvider::class`

Also, register the Facade like so:

```
'aliases' => [
    ...
    'Identify' => Unicodeveloper\Identify\Facades\IdentifyFacade::class,
    ...
]
```

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

[](#configuration)

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

```
$ php artisan vendor:publish --provider="Unicodeveloper\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/unicodeveloper)!

Thanks! Prosper Otemuyiwa.

License
-------

[](#license)

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

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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 ~133 days

Recently: every ~199 days

Total

7

Last Release

3018d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/43ecf62b7e6bce64ace737c7af9e10c6b2f510a5e252fef8ebad5a1d85c515a4?d=identicon)[MisterPaladin](/maintainers/MisterPaladin)

---

Top Contributors

[![unicodeveloper](https://avatars.githubusercontent.com/u/2946769?v=4)](https://github.com/unicodeveloper "unicodeveloper (21 commits)")[![perfectmak](https://avatars.githubusercontent.com/u/3120013?v=4)](https://github.com/perfectmak "perfectmak (7 commits)")

---

Tags

browserlaravellanguagegithubdetectoperating systemopen-sourceidentifyEvangelist

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[unicodeveloper/laravel-identify

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

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

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

2675.9k6](/packages/consoletvs-identify)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[unicodeveloper/laravel-emoji

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

20925.1k](/packages/unicodeveloper-laravel-emoji)

PHPackages © 2026

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