PHPackages                             netbull/mobile-detect-bundle - 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. netbull/mobile-detect-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

netbull/mobile-detect-bundle
============================

Symfony 4/5/6 bundle for detect mobile devices, managing mobile view types, redirect to mobile version.

v7.0.2(12mo ago)1118.1k—2.3%6MITPHPPHP &gt;=8.0.2CI passing

Since Jan 9Pushed 12mo ago1 watchersCompare

[ Source](https://github.com/netbull/MobileDetectBundle)[ Packagist](https://packagist.org/packages/netbull/mobile-detect-bundle)[ Docs](https://github.com/suncat2000/MobileDetectBundle)[ RSS](/packages/netbull-mobile-detect-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (8)Versions (35)Used By (0)

It looks like the official repo is abandoned, so as a temporary fix this can be used.
=====================================================================================

[](#it-looks-like-the-official-repo-is-abandoned-so-as-a-temporary-fix-this-can-be-used)

MobileDetectBundle
==================

[](#mobiledetectbundle)

[![Code_Checks](https://github.com/netbull/MobileDetectBundle/actions/workflows/code_checks.yaml/badge.svg)](https://github.com/netbull/MobileDetectBundle/actions/workflows/code_checks.yaml)

Symfony 4/5/6 bundle for detect mobile devices, manage mobile view and redirect to the mobile and tablet version.

Introduction
------------

[](#introduction)

This Bundle use [Mobile\_Detect](https://github.com/serbanghita/Mobile-Detect) class and provides the following features:

- Detect the various mobile devices by Name, OS, browser User-Agent
- Manages site views for the various mobile devices (`mobile`, `tablet`, `full`)
- Redirects to mobile and tablet sites

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

[](#installation)

1. Install the latest version via composer:

    ```
    composer require netbull/mobile-detect-bundle --dev
    ```
2. If you don't use [Symfony Flex](https://symfony.com/doc/current/setup/flex.html), you must enable the bundle manually in the application:

    ```
    // config/bundles.php
    // in older Symfony apps, enable the bundle in app/AppKernel.php
    return [
    // ...
    SunCat\MobileDetectBundle\MobileDetectBundle::class => ['dev' => true],
    ];
    ```

Documentation
-------------

[](#documentation)

The bulk of the documentation is stored in the `Resources/doc/index.md` file in this bundle:

[Read the Documentation for master](https://github.com/netbull/MobileDetectBundle/blob/master/src/Resources/doc/index.md)

License
-------

[](#license)

This bundle is under the MIT license. See the complete license in the bundle:

```
Resources/meta/LICENSE

```

Credits
-------

[](#credits)

- [suncat2000](https://github.com/suncat2000), [HenriVesala](https://github.com/HenriVesala), [netmikey](https://github.com/netmikey) and [all contributors](https://github.com/suncat2000/MobileDetectBundle/graphs/contributors)

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance50

Moderate activity, may be stable

Popularity35

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~126 days

Recently: every ~16 days

Total

34

Last Release

361d ago

Major Versions

v0.10.3 → v1.0.02016-03-14

v1.1.1 → v2.0.02019-12-05

v2.1.2 → v5.0.12021-01-13

v5.2.0 → 6.x-dev2025-03-19

v6.0.0 → v7.0.02025-05-22

PHP version history (8 changes)v0.9.0PHP &gt;=5.3.0

v1.0.0PHP &gt;=5.5.0

v1.0.6PHP &gt;=5.5.9

v2.1.1PHP &gt;=7.0

v2.1.2PHP &gt;=7.2

v5.2.0PHP ^7.2 || ^8.0 || ^8.1

6.x-devPHP &gt;=7.4|8.\*

v6.0.0PHP &gt;=8.0.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/9f3ae1dbe4034a7e4a0d11bff585c896e5416a4a735ddb566a28f349f9a3ad11?d=identicon)[netbull](/maintainers/netbull)

---

Top Contributors

[![suncat2000](https://avatars.githubusercontent.com/u/1162437?v=4)](https://github.com/suncat2000 "suncat2000 (82 commits)")[![netbull](https://avatars.githubusercontent.com/u/2797954?v=4)](https://github.com/netbull "netbull (32 commits)")[![netmikey](https://avatars.githubusercontent.com/u/1180845?v=4)](https://github.com/netmikey "netmikey (11 commits)")[![HenriVesala](https://avatars.githubusercontent.com/u/965788?v=4)](https://github.com/HenriVesala "HenriVesala (11 commits)")[![SLRBot](https://avatars.githubusercontent.com/u/31204388?v=4)](https://github.com/SLRBot "SLRBot (11 commits)")[![Chris53897](https://avatars.githubusercontent.com/u/7104259?v=4)](https://github.com/Chris53897 "Chris53897 (7 commits)")[![ricoli](https://avatars.githubusercontent.com/u/1648125?v=4)](https://github.com/ricoli "ricoli (6 commits)")[![erivello](https://avatars.githubusercontent.com/u/626131?v=4)](https://github.com/erivello "erivello (6 commits)")[![bocharsky-bw](https://avatars.githubusercontent.com/u/3317635?v=4)](https://github.com/bocharsky-bw "bocharsky-bw (6 commits)")[![Ninir](https://avatars.githubusercontent.com/u/855022?v=4)](https://github.com/Ninir "Ninir (5 commits)")[![semantic-release-bot](https://avatars.githubusercontent.com/u/32174276?v=4)](https://github.com/semantic-release-bot "semantic-release-bot (4 commits)")[![xabbuh](https://avatars.githubusercontent.com/u/1957048?v=4)](https://github.com/xabbuh "xabbuh (4 commits)")[![alexhoma](https://avatars.githubusercontent.com/u/7917771?v=4)](https://github.com/alexhoma "alexhoma (3 commits)")[![JonasHaouzi](https://avatars.githubusercontent.com/u/8245107?v=4)](https://github.com/JonasHaouzi "JonasHaouzi (3 commits)")[![trq](https://avatars.githubusercontent.com/u/32683?v=4)](https://github.com/trq "trq (3 commits)")[![kerihenare](https://avatars.githubusercontent.com/u/181816?v=4)](https://github.com/kerihenare "kerihenare (2 commits)")[![iamdey](https://avatars.githubusercontent.com/u/65737?v=4)](https://github.com/iamdey "iamdey (2 commits)")[![juulrecognize](https://avatars.githubusercontent.com/u/61468406?v=4)](https://github.com/juulrecognize "juulrecognize (2 commits)")[![sfdumi](https://avatars.githubusercontent.com/u/3295012?v=4)](https://github.com/sfdumi "sfdumi (2 commits)")[![NicolasBadey](https://avatars.githubusercontent.com/u/639268?v=4)](https://github.com/NicolasBadey "NicolasBadey (2 commits)")

---

Tags

mobilemobile detectmobile view managingsymfony mobilemobile redirect

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/netbull-mobile-detect-bundle/health.svg)

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

###  Alternatives

[suncat/mobile-detect-bundle

Symfony2/3/4 bundle for detect mobile devices, managing mobile view types, redirect to mobile version.

4035.3M7](/packages/suncat-mobile-detect-bundle)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)

PHPackages © 2026

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