Download the PHP package tattali/mobile-detect-bundle without Composer
On this page you can find all versions of the php package tattali/mobile-detect-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tattali/mobile-detect-bundle
More information about tattali/mobile-detect-bundle
Files in tattali/mobile-detect-bundle
Package mobile-detect-bundle
Short Description Symfony 5.x-7.x bundle to detect mobile devices, manage mobile view and redirect to the mobile and tablet version.
License MIT
Homepage https://github.com/tattali/MobileDetectBundle
Rated 5.00 based on 2 reviews
Informations about the package mobile-detect-bundle
MobileDetectBundle
Symfony 5.4.x-7.0 bundle to detect mobile devices, manage mobile view and redirect to the mobile and tablet version.
This bundle 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 MobileDetect 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
,desktop
) -
Redirects to mobile and tablet sites
- Migrate to 7x
Documentation
Installation
Install with Symfony legacy versions: here
Usage
Checking device
With Twig
Available User-Agents (uaMatch) with the php is()
and twig is_device()
here
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: suncat2000, HenriVesala, netmikey and all contributors
All versions of mobile-detect-bundle with dependencies
mobiledetect/mobiledetectlib Version ^4.8
symfony/config Version ^7.2
symfony/dependency-injection Version ^7.2
symfony/event-dispatcher Version ^7.2
symfony/http-kernel Version ^7.2
symfony/routing Version ^7.2
symfony/yaml Version ^7.2
twig/twig Version ^3.0