PHPackages                             derralf/silverstripe-mobiledetect - 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. derralf/silverstripe-mobiledetect

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

derralf/silverstripe-mobiledetect
=================================

Simple extension to detect mobile devices

1.0.x-dev(7y ago)02.1k1BSD-3-ClausePHP

Since Apr 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/derralf/silverstripe-mobiledetect)[ Packagist](https://packagist.org/packages/derralf/silverstripe-mobiledetect)[ RSS](/packages/derralf-silverstripe-mobiledetect/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

silverstripe-mobiledetect
=========================

[](#silverstripe-mobiledetect)

Requirements
------------

[](#requirements)

- silverstripe/cms ^5
- mobiledetect/mobiledetectlib ^4.8

For a SilverStripe 4.3 compatible version of this module, please see the 1.x release line [1.x release line](https://github.com/derralf/silverstripe-mobiledetect/tree/1.0).

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

[](#installation)

Install a module via Composer

```
composer require derralf/silverstripe-mobiledetect

```

DataObject gets extended automatically

Usage
-----

[](#usage)

```

PHP:

if $this->isMobile() ...

if $this->isTablet() ...

if $this->isPhone() ...

Templates:

 ...

 ...

 ...

```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2647d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1495867?v=4)[derralf](/maintainers/derralf)[@derralf](https://github.com/derralf)

---

Top Contributors

[![derralf](https://avatars.githubusercontent.com/u/1495867?v=4)](https://github.com/derralf "derralf (3 commits)")[![PixNyb](https://avatars.githubusercontent.com/u/40770831?v=4)](https://github.com/PixNyb "PixNyb (1 commits)")

---

Tags

silverstripemobile detect

### Embed Badge

![Health badge](/badges/derralf-silverstripe-mobiledetect/health.svg)

```
[![Health](https://phpackages.com/badges/derralf-silverstripe-mobiledetect/health.svg)](https://phpackages.com/packages/derralf-silverstripe-mobiledetect)
```

###  Alternatives

[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1371.1M85](/packages/silverstripe-userforms)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[silverstripe/widgets

Widgets are small pieces of functionality such as showing the latest Comments or Flickr Photos. They normally display on the sidebar of your website.

37423.2k20](/packages/silverstripe-widgets)[lekoala/silverstripe-cms-actions

Add actions to your models in SilverStripe

39344.8k31](/packages/lekoala-silverstripe-cms-actions)[silverstripe/sharedraftcontent

Share draft page content with non-CMS users

21424.1k12](/packages/silverstripe-sharedraftcontent)[axllent/silverstripe-cms-tweaks

Several CMS usability improvements

1726.4k1](/packages/axllent-silverstripe-cms-tweaks)

PHPackages © 2026

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