Download the PHP package digifa/mobile-detect-bundle without Composer
On this page you can find all versions of the php package digifa/mobile-detect-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download digifa/mobile-detect-bundle
More information about digifa/mobile-detect-bundle
Files in digifa/mobile-detect-bundle
Package mobile-detect-bundle
Short Description Symfony 6.4, 7.0 / PHP 8.2 bundle to detect mobile devices, manage mobile view and redirect to the mobile and tablet version.
License MIT
Homepage https://github.com/digifa/MobileDetectBundle
Informations about the package mobile-detect-bundle
MobileDetectBundle
Symfony 6.4.x / PHP 8.2 bundle to detect mobile devices, manage mobile view and redirect to the mobile and tablet version.
This bundle is a fork of tattali/MobileDetectBundle that is a fork of suncat2000/MobileDetectBundle. As this project doesn't look maintained anymore, we decided to create & maintain a fork. For more information read our manifest.
Introduction
This Bundle use Mobile_Detect class and provides the following features:
- Detect the various mobile devices by Name, OS, browser User-Agent
- Manages site views for the various mobile devices (
mobile
,tablet
,full
) - Redirects to mobile and tablet sites
Documentation
Installation
Install with Symfony legacy versions: here
Usage
Checking device
With Twig
Switch device view
For switch device view, use device_view
GET parameter:
Or using the Symfony toolbar
Going further
- Symfony legacy versions
- Redirection
- Full reference
Contribute and feedback
Any feedback and contribution will be very appreciated.
License and credits
This bundle is under the MIT license. See the complete license in the bundle
Original authors: tattali, suncat2000, HenriVesala, netmikey and all contributors
All versions of mobile-detect-bundle with dependencies
mobiledetect/mobiledetectlib Version ^4.8
symfony/dependency-injection Version ^6.4||^7.0
symfony/event-dispatcher Version ^6.4||^7.0
symfony/framework-bundle Version ^6.4||^7.0
symfony/yaml Version ^6.4||^7.0
twig/twig Version ^2.0 || ^3.0