raindrop / mobiledetect-bundle
Symfony Raindrop Mobile Detect Bundle
Installs: 99
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.3
- mobiledetect/mobiledetectlib: dev-master
- symfony/framework-bundle: >=2.1.0,<2.3
- symfony/monolog-bundle: >=2.1,<3
- symfony/yaml: 2.1.*@dev
Requires (Dev)
- symfony/class-loader: 2.1.x@dev
- symfony/twig-bridge: 2.1.x@dev
- twig/twig: >=1.6.0,<2.0
This package is not auto-updated.
Last update: 2024-11-09 14:50:28 UTC
README
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.