digifa/mobile-detect-symfony-bundle

Symfony 6.4, 7.x / PHP >= 8.2 bundle to detect mobile devices, manage mobile view and redirect to the mobile and tablet version.

dev-main 2024-10-22 15:38 UTC

This package is auto-updated.

Last update: 2024-10-22 15:40:03 UTC


README

Symfony 6.4, 7.x & PHP 8.x bundle to detect mobile devices, manage mobile view and redirect to the mobile and tablet version.

This bundle is inspired by tattali/MobileDetectBundle

Introduction

This Bundle uses serbanghita/Mobile-Detect and provides the following features: The Versioning of the serbanhita/Mobile-Detect is one of the reasons for creating this Bundle. 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

You find a more detailed documentation in docs/index.md.

Installation

composer require digifa/mobile-detect-symfony-bundle:^4.*

Use Major-Version regarding to needed serbanhita/Mobile-Detect Version.

Usage

Contribute and feedback

Any feedback and contribution will be very appreciated. Read Contribution for more informations.

License and credits

License

This bundle is under the MIT license. See the complete license in the bundle.

Credits

The author tattali for https://github.com/tattali/MobileDetectBundle and all contributors, suncat2000 for the original suncat2000/MobileDetectBundle.