Download the PHP package bugbuster/mobiledetection without Composer
On this page you can find all versions of the php package bugbuster/mobiledetection. 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 mobiledetection
Contao Module MobileDetection
About
Contao 3 Module "Mobile-Detection", based on "http://mobiledetect.net/"
Helperclasses for developer. Demo frontend module is present.
Installation
Manually
- Do not use the ZIP file from GitHub! Use the ER2 mobiledetection
Over Composer
- Search for bugbuster/mobiledetection, version >= 3.5
- 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 (MobileDetection\Mobile_Detection).
Mobile_Detect (original class)
ER2 version (without a namespace of the original class)
Continue as described in the next section.
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 mobiledetection with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3
contao/core Version >=3,<4
contao-community-alliance/composer-plugin Version *
mobiledetect/mobiledetectlib Version 2.*
contao/core Version >=3,<4
contao-community-alliance/composer-plugin Version *
mobiledetect/mobiledetectlib Version 2.*
The package bugbuster/mobiledetection contains the following files
Loading the files please wait ....