PHPackages                             exs/silex-mobility-detector-light-provider - 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. exs/silex-mobility-detector-light-provider

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

exs/silex-mobility-detector-light-provider
==========================================

Detect mobile device

v1.0.0(10y ago)2312MITPHP

Since Jun 29Pushed 10y ago11 watchersCompare

[ Source](https://github.com/ExSituMarketing/EXS-silex-mobility-detector-light-provider)[ Packagist](https://packagist.org/packages/exs/silex-mobility-detector-light-provider)[ Docs](https://github.com/ExSituMarketing/EXS-silex-mobility-detector-light-provider.git)[ RSS](/packages/exs-silex-mobility-detector-light-provider/feed)WikiDiscussions master Synced 1mo ago

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

EXS-silex-mobility-detector-light-provider
==========================================

[](#exs-silex-mobility-detector-light-provider)

Simple regex methods used to determine if the useragent comes from a mobile, tablet or desktop device.

Installing the MobilityDetectorLightProvider in a Silex project
---------------------------------------------------------------

[](#installing-the-mobilitydetectorlightprovider-in-a-silex-project)

The installation process is actually very simple. Set up a Silex project with Composer.

Once the new project is set up, open the composer.json file and add the exs/silex-mobility-detector-light-provider as a dependency:

```
//composer.json
//...
"require": {
        //other bundles
        "exs/silex-mobility-detector-light-provider": "1.0.*@dev"
```

Or you could just add it via the command line:

```
$ composer.phar require exs/silex-mobility-detector-light-provider: v1.0.*

```

Save the file and have composer update the project via the command line:

```
php composer.phar update
```

Composer will now update all dependencies and you should see our bundle in the list:

```
  - Installing exs/silex-mobility-detector-light-provider (dev-master 463eb20)
    Cloning 463eb2081e7205e7556f6f65224c6ba9631e070a
```

Update the app.php to include our provider:

```
//app.php
//...
$app->register(new \EXS\MobilityDetectorLightProvider\Providers\MobilityDetectorLightProvider());
```

MobilityDetectorLightProvider is ready to use, inject the service where you need it.

```
$container['exs.serv.mobility.detector.light'];
```

#### Contributing

[](#contributing)

Anyone and everyone is welcome to contribute.

If you have any questions or suggestions please [let us know](http://www.ex-situ.com/).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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

3976d ago

### Community

Maintainers

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

---

Top Contributors

[![slee1803](https://avatars.githubusercontent.com/u/10144066?v=4)](https://github.com/slee1803 "slee1803 (2 commits)")[![rumpranger](https://avatars.githubusercontent.com/u/718301?v=4)](https://github.com/rumpranger "rumpranger (1 commits)")

---

Tags

detectorprovidermobilesilexdevice

### Embed Badge

![Health badge](/badges/exs-silex-mobility-detector-light-provider/health.svg)

```
[![Health](https://phpackages.com/badges/exs-silex-mobility-detector-light-provider/health.svg)](https://phpackages.com/packages/exs-silex-mobility-detector-light-provider)
```

###  Alternatives

[igorw/config-service-provider

A config ServiceProvider for Silex with support for php, json and yaml.

215636.5k13](/packages/igorw-config-service-provider)

PHPackages © 2026

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