Download the PHP package bugbuster/contao-mobiledetection-bundle without Composer
On this page you can find all versions of the php package bugbuster/contao-mobiledetection-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package contao-mobiledetection-bundle
Contao 4 Bundle "Mobile-Detection"
About
Contao 4 Bundle "Mobile-Detection", based on "http://mobiledetect.net/"
Helperclasses for developer. Demo frontend module is present.
Installation
With Contao Manager
- Search for bugbuster/contao-mobiledetection-bundle
- Composer loads additionally "mobiledetect/mobiledetectlib" version 2.*
With Composer
composer require bugbuster/contao-mobiledetection-bundle
- Composer loads additionally "mobiledetect/mobiledetectlib" version 2.*
Hooks help!
A Hook add a special class to page css class (in body tag):
- phone : mobile device, but no tablet
- tablet : mobile device and a tablet
- computer : no mobile device, no tablet
Examples
Galaxy S II (Phone)
Motorola Xoom (Tablet)
Linux Mint PC (Computer)
Usage the Classes
You have two options:
- You're using the original class (Detection\MobileDetect).
- You're using the wrapper class (BugBuster\MobileDetection\Mobile_Detection).
Mobile_Detect (original class)
Composer version (with a namespace of the original class)
For the full list of available methods check the directory .
Mobile_Detection (wrapper class)
See demo module "MobileDetectionDemo".
All versions of contao-mobiledetection-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.2 || ^8.0
contao/core-bundle Version ~4.4
mobiledetect/mobiledetectlib Version ^2.8
contao/core-bundle Version ~4.4
mobiledetect/mobiledetectlib Version ^2.8
The package bugbuster/contao-mobiledetection-bundle contains the following files
Loading the files please wait ....