PHPackages                             andrey-helldar/bad-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. andrey-helldar/bad-browser-detect

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

andrey-helldar/bad-browser-detect
=================================

Determine the minimum acceptable version of the browser and notify the user if the version does not match the required version.

v1.3.4(5y ago)02.0kMITPHPPHP ^5.6.9|^7.0|^8.0

Since Apr 9Pushed 4y ago1 watchersCompare

[ Source](https://github.com/andrey-helldar/bad-browser-detect)[ Packagist](https://packagist.org/packages/andrey-helldar/bad-browser-detect)[ Fund](https://money.yandex.ru/to/410012115955701)[ Fund](https://paypal.me/helldar)[ RSS](/packages/andrey-helldar-bad-browser-detect/feed)WikiDiscussions master Synced yesterday

READMEChangelog (9)Dependencies (10)Versions (30)Used By (0)

Bad Browser Detect for Laravel 5.4+
===================================

[](#bad-browser-detect-for-laravel-54)

Determine the minimum acceptable version of the browser and notify the user if the version does not match the required version.

[![Laravel Bad Browser Detect](https://camo.githubusercontent.com/12d16a7847b9cb68d123598d94fbe8dfb91cda28ca9321f19d6ff698d180edbb/68747470733a2f2f707265766965772e647261676f6e2d636f64652e70726f2f616e647265792d68656c6c6461722f6261642d62726f777365722d6465746563742e7376673f6272616e643d6c61726176656c)](https://camo.githubusercontent.com/12d16a7847b9cb68d123598d94fbe8dfb91cda28ca9321f19d6ff698d180edbb/68747470733a2f2f707265766965772e647261676f6e2d636f64652e70726f2f616e647265792d68656c6c6461722f6261642d62726f777365722d6465746563742e7376673f6272616e643d6c61726176656c)

 [![StyleCI](https://camo.githubusercontent.com/48e8f1b1874a1d859a65889452aae8092d939c3ae2deef467806fbb1af73da1a/68747470733a2f2f7374796c6563692e696f2f7265706f732f37353633373238342f736869656c64)](https://styleci.io/repos/45746985) [![Total Downloads](https://camo.githubusercontent.com/ea1bc70392af5646cf0280cbab6beb2f43ba9839101601565a83754319bec8d6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616e647265792d68656c6c6461722f6261642d62726f777365722d6465746563742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/andrey-helldar/bad-browser-detect) [![Latest Stable Version](https://camo.githubusercontent.com/7153eec2cc6a2934ec246b028089e3d40b41ac4f4f2c6073dda38d2a25124d81/68747470733a2f2f706f7365722e707567782e6f72672f616e647265792d68656c6c6461722f6261642d62726f777365722d6465746563742f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/andrey-helldar/bad-browser-detect) [![Latest Unstable Version](https://camo.githubusercontent.com/be6e60559d2e732a0d7a33632da75ce0d303844dd44e083aa65d54b21021f7b3/68747470733a2f2f706f7365722e707567782e6f72672f616e647265792d68656c6c6461722f6261642d62726f777365722d6465746563742f762f756e737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/andrey-helldar/bad-browser-detect) [![License](https://camo.githubusercontent.com/793174d3ebe5535a9508343705eb3f454bd480300e1144bb379727770c41f801/68747470733a2f2f706f7365722e707567782e6f72672f616e647265792d68656c6c6461722f6261642d62726f777365722d6465746563742f6c6963656e73653f666f726d61743d666c61742d737175617265)](LICENSE)

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

[](#installation)

To get the latest version of Laravel Beautiful Phone, simply require the project using [Composer](https://getcomposer.org):

```
composer require andrey-helldar/bad-browser-detect

```

Instead, you may of course manually update your require block and run `composer update` if you so choose:

```
{
    "require": {
        "andrey-helldar/bad-browser-detect": "^1.0"
    }
}
```

If you don't use auto-discovery, add the `ServiceProvider` to the providers array in `config/app.php`:

```
Helldar\BadBrowser\ServiceProvider::class,
```

You can also publish the config file to change implementations (ie. interface to specific class):

```
php artisan vendor:publish --provider="Helldar\BadBrowser\ServiceProvider"

```

In some cases, we can modify the CSS page styles, so periodically check the relevance of the data. This can also be done using the command:

```
php artisan vendor:publish --tag=assets

```

Next, call the command `php artisan migrate` to create a table in the database.

Using
-----

[](#using)

In the `config/bad_browser.php` settings file, specify the minimum permissible versions of browsers for the normal operation of your site.

Now, if a user logs in from an outdated browser, it automatically redirects to the page `/bad-browser`. On this page, the user can click on the link to download a modern browser, or notify the administrator about the version detection error. In this case, the user's user-agent information will be recorded in the database, and an email notification of the incident will be sent to you.

#### For desktops

[](#for-desktops)

[![you are using an outdated browser - desktop](https://user-images.githubusercontent.com/10347617/44913716-d9e06080-ad36-11e8-9a98-d7bbe8bc50bd.png)](https://user-images.githubusercontent.com/10347617/44913716-d9e06080-ad36-11e8-9a98-d7bbe8bc50bd.png)

#### For tablets

[](#for-tablets)

[![you are using an outdated browser - tablet](https://user-images.githubusercontent.com/10347617/44913721-dbaa2400-ad36-11e8-829b-5e716fb06f43.png)](https://user-images.githubusercontent.com/10347617/44913721-dbaa2400-ad36-11e8-829b-5e716fb06f43.png)

#### For mobiles

[](#for-mobiles)

[![you are using an outdated browser - mobile](https://user-images.githubusercontent.com/10347617/44913726-dd73e780-ad36-11e8-96ce-aa1a753c3e24.png)](https://user-images.githubusercontent.com/10347617/44913726-dd73e780-ad36-11e8-96ce-aa1a753c3e24.png)

Copyright and License
---------------------

[](#copyright-and-license)

`Bad Browser Detect` was written by Andrey Helldar for the Laravel Framework 5.4 and later, and is released under the MIT License. See the [LICENSE](LICENSE) file for details.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~35 days

Recently: every ~124 days

Total

29

Last Release

2007d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.6.9

v1.3.4PHP ^5.6.9|^7.0|^8.0

### Community

Maintainers

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

---

Top Contributors

[![andrey-helldar](https://avatars.githubusercontent.com/u/10347617?v=4)](https://github.com/andrey-helldar "andrey-helldar (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

bad browser

### Embed Badge

![Health badge](/badges/andrey-helldar-bad-browser-detect/health.svg)

```
[![Health](https://phpackages.com/badges/andrey-helldar-bad-browser-detect/health.svg)](https://phpackages.com/packages/andrey-helldar-bad-browser-detect)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[flarum/core

Delightfully simple forum software.

201.4M2.2k](/packages/flarum-core)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k28.4M137](/packages/laravel-cashier)[laravel/scout

Laravel Scout provides a driver based solution to searching your Eloquent models.

1.7k53.0M586](/packages/laravel-scout)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k14.1M123](/packages/laravel-pulse)[illuminate/broadcasting

The Illuminate Broadcasting package.

7126.9M203](/packages/illuminate-broadcasting)

PHPackages © 2026

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