raindrop/mobiledetect-bundle

Symfony Raindrop Mobile Detect Bundle

Installs: 99

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 1

Open Issues: 0

Type:symfony-bundle

pkg:composer/raindrop/mobiledetect-bundle

dev-master 2013-10-30 10:41 UTC

This package is not auto-updated.

Last update: 2025-10-11 19:33:34 UTC


README

Build Status

This bundle adds support for detect mobile devices. It uses the lightweight PHP class Mobile_Detect.

INSTALLATION:

First add the dependency to your composer.json` file:

"require": {
    ...
    "raindrop/mobiledetect-bundle": "dev-master"
},

Then install the bundle with the command:

php composer.phar update

Enable the bundle in your application kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Raindrop\MobileDetectBundle\RaindropMobileDetectBundle(),
    );
}

Now the bundle is enabled.