PHPackages                             ustmaestro/yii2-mobile-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. ustmaestro/yii2-mobile-detect

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

ustmaestro/yii2-mobile-detect
=============================

Yii2 mobile dectect component

1.0.0(11y ago)01.2k↑16.7%BSD-4-ClausePHP

Since Apr 5Pushed 9y ago2 watchersCompare

[ Source](https://github.com/ustmaestro/yii2-mobile-detect)[ Packagist](https://packagist.org/packages/ustmaestro/yii2-mobile-detect)[ RSS](/packages/ustmaestro-yii2-mobile-detect/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

### MobileDetect Yii2 Extension

[](#mobiledetect-yii2-extension)

> This Extension based on [Mobile\_Detect class](https://github.com/serbanghita/Mobile-Detect) writed by Serban Ghita and Victor Stanciu

### Install

[](#install)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist ustmaestro/yii2-mobile-detect "dev-master"
```

or add

```
"ustmaestro/yii2-mobiledetect": "dev-master"
```

to the require section of your composer.json file.

Add your component inside the config/web.php file eg:

```
'components' => [
    ...

    'mobileDetect' => [
        'class' => 'ustmaestro\mobiledetect\MobileDetect'
    ],

    ...
];
```

### Usage

[](#usage)

```
  $detect = Yii::$app->mobileDetect;
  // call methods
  $detect->isMobile();
  $detect->isTablet();
  $detect->isIphone();
  ...
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

4061d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/47f963417506ccead049e37b1fc4c0ee3c34bdee348192a61063dbdb50f6ead3?d=identicon)[ustmaestro](/maintainers/ustmaestro)

---

Top Contributors

[![ustmaestro](https://avatars.githubusercontent.com/u/10262179?v=4)](https://github.com/ustmaestro "ustmaestro (12 commits)")

---

Tags

yii2extensionyii2-mobile-detect

### Embed Badge

![Health badge](/badges/ustmaestro-yii2-mobile-detect/health.svg)

```
[![Health](https://phpackages.com/badges/ustmaestro-yii2-mobile-detect/health.svg)](https://phpackages.com/packages/ustmaestro-yii2-mobile-detect)
```

###  Alternatives

[vyants/yii2-daemon

Extension provides functionality for simple daemons creation and control

7859.0k](/packages/vyants-yii2-daemon)[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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