PHPackages                             osflab/device - 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. osflab/device

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

osflab/device
=============

OSF simple device detection and manipulations

3.0.0(8y ago)04AGPL-3.0-or-laterPHPPHP ^7.1.0

Since Feb 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/osflab/device)[ Packagist](https://packagist.org/packages/osflab/device)[ Docs](https://github.com/osflab/device)[ RSS](/packages/osflab-device/feed)WikiDiscussions master Synced 2mo ago

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

OSF simple device management component
======================================

[](#osf-simple-device-management-component)

A MobileDetect proxy.

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

[](#installation)

You need at least php 7.1 and `composer`:

```
sudo apt install composer
```

### In your application via composer

[](#in-your-application-via-composer)

This is the recommended way to use this feature in a non-osf project.

Just add `osflab/device` in your composer.json file.

### From github

[](#from-github)

To test the component or participate in its development.

```
git clone https://github.com/osflab/device.git
cd device && composer update
```

Unit tests launch:

```
vendor/bin/runtests
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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

Every ~53 days

Total

2

Last Release

2949d ago

PHP version history (2 changes)3.0.0PHP ^7.1.0

3.0.x-devPHP ^7.1.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/abc3dea1dc84c5b66d10072481ff94a25c852239e3597fde32e86204b636f911?d=identicon)[Guillaume Ponçon](/maintainers/Guillaume%20Pon%C3%A7on)

---

Top Contributors

[![gponcon](https://avatars.githubusercontent.com/u/1412541?v=4)](https://github.com/gponcon "gponcon (14 commits)")

### Embed Badge

![Health badge](/badges/osflab-device/health.svg)

```
[![Health](https://phpackages.com/badges/osflab-device/health.svg)](https://phpackages.com/packages/osflab-device)
```

###  Alternatives

[jenssegers/agent

Desktop/mobile user agent parser with support for Laravel, based on Mobiledetect

4.8k67.8M440](/packages/jenssegers-agent)[hisorange/browser-detect

Browser &amp; Mobile detection package for Laravel.

1.1k10.1M50](/packages/hisorange-browser-detect)[shetabit/visitor

Laravel visitor

565578.2k8](/packages/shetabit-visitor)[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)[ziming/laravel-email-sniper-link

Laravel package to generate email sniper links based on given email

1519.9k](/packages/ziming-laravel-email-sniper-link)[clausnz/php-helpers

A Collection of useful php helper functions.

388.7k](/packages/clausnz-php-helpers)

PHPackages © 2026

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