Download the PHP package nikolaposa/mobile-detect-module without Composer
On this page you can find all versions of the php package nikolaposa/mobile-detect-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nikolaposa/mobile-detect-module
More information about nikolaposa/mobile-detect-module
Files in nikolaposa/mobile-detect-module
Package mobile-detect-module
Short Description ZF2 Module which facilitates integration of a PHP MobileDetect class
License MIT
Homepage https://github.com/nikolaposa/MobileDetectModule
Informations about the package mobile-detect-module
MobileDetectModule
ZF module which facilitates integration of a PHP MobileDetect library (http://mobiledetect.net).
Installation
The preferred method of installation is via Composer. Run the following command to install the latest version of a package and add it to your project's composer.json
:
Enable the module in your application.config.php
:
Features
- Factory for creating MobileDetect service
- View helper and controller plugin for providing easier access to the MobileDetect service
Usage
MobileDetect service
The actual Mobile_Detect
class instance will be available under the MobileDetect
service. Refer to the Mobile Detect project documenation for more information about its features.
View helper
View helper - mobileDetect
is available for providing access to the MobileDetect service on the view layer:
Controller plugin
Controller plugin - mobileDetect
is available for providing access to the MobileDetect service on the controller layer:
Credits
- Nikola Poša
- All Contributors
License
Released under MIT License - see the License File for details.
All versions of mobile-detect-module with dependencies
zendframework/zend-http Version 2.*
zendframework/zend-view Version 2.*
zendframework/zend-mvc Version 2.*
zendframework/zend-modulemanager Version 2.*
zendframework/zend-servicemanager Version 2.*
mobiledetect/mobiledetectlib Version 2.*