PHPackages                             urosg/yii2-outdated-browser-rework - 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. urosg/yii2-outdated-browser-rework

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

urosg/yii2-outdated-browser-rework
==================================

Yii2 Outdated Browser Rework Widget

1.0.0(7y ago)237.7k↓30.2%BSD-3-ClausePHP

Since Aug 5Pushed 7y ago1 watchersCompare

[ Source](https://github.com/urosg80/yii2-outdatedbrowser-rework)[ Packagist](https://packagist.org/packages/urosg/yii2-outdated-browser-rework)[ RSS](/packages/urosg-yii2-outdated-browser-rework/feed)WikiDiscussions master Synced 1mo ago

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

yii2-outdatedbrowser-rework
===========================

[](#yii2-outdatedbrowser-rework)

YII2 Widget implementing outdated-browser-rework package for browser better detection

About
-----

[](#about)

This widget was inspired by the mdscomp/yii2-outdated-browser-widget which uses the Outdated Browser script by Bürocratik.

This widget on the other hand uses the Outdated Browser Rework script made by the Mike MacCana.

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

[](#installation)

The preferred way to install this extension is through composer. Check the composer.json for this extension's requirements and dependencies. Read this web tip /wiki on setting the minimum-stability settings for your application's composer.json.

To install, either run

```
$ php composer.phar require urosg/yii2-outdated-browser-rework "~1.0"

```

or add

```
"urosg/yii2-outdated-browser-rework": "~1.0"

```

to the require section of your composer.json file.

Refer to the CHANGELOG for details of release changes.

Usage
-----

[](#usage)

```
use urosg\widget\OutdatedBrowserRework;

// To use default configuration
echo OutdatedBrowserRework::widget();

// To specify custom configuration - listed are default settings
echo OutdatedBrowserReword::widget([
    'requiredCssProperty' => '',
    'language' => 'en',
    'isUnknownBrowserOK' => false,
    'requireChromeOnAndroid' => false,
    'messages' => [
        'outOfDate' => 'Your browser is out of date!',
        'updateWeb' => 'Update your browser to view this website correctly.',
        'updateGooglePlay' => 'Please install Chrome from Google Play',
        'updateAppStore' => 'Please update iOS from the Settings',
        'webUpdateUrl' => 'http://outdatedbrowser.com',
        'callToAction' => 'Update my browser now',
        'close' => 'Close'
    ],
    'browserSupport' => [
        'Chrome' => 57,
        'Edge' => 39,
        'Safari' => 10,
        'MobileSafari' => 10,
        'Firefox' => 50,
        'Opera' => 50,
        'Vivaldi' => 1,
        'IE' => false
    ]
]);
```

License
-------

[](#license)

yii2-outdated-browser-rework is released under the BSD-3 Clause license. See the bundled LICENSE file for details.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

2837d ago

### Community

Maintainers

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

---

Top Contributors

[![urosg80](https://avatars.githubusercontent.com/u/11760571?v=4)](https://github.com/urosg80 "urosg80 (1 commits)")

---

Tags

yii2extensionoutdated-browseroutdated browser rework

### Embed Badge

![Health badge](/badges/urosg-yii2-outdated-browser-rework/health.svg)

```
[![Health](https://phpackages.com/badges/urosg-yii2-outdated-browser-rework/health.svg)](https://phpackages.com/packages/urosg-yii2-outdated-browser-rework)
```

###  Alternatives

[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)
