peakagency / mobile-detect-bundle
Symfony4/5/6 bundle for detect mobile devices, managing mobile view types, redirect to mobile version.
Installs: 526
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 152
Type:symfony-bundle
Requires
- php: >=7.1
- mobiledetect/mobiledetectlib: ^2.8
- symfony/dependency-injection: ^3.4 || ^4.0 || ^5.0
- symfony/event-dispatcher: ^3.4 || ^4.0 || ^5.0
- symfony/framework-bundle: ^3.4 || ^4.0 || ^5.0
- twig/twig: ~1.26 || ~2.0 || ^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- phpstan/extension-installer: ^1.0
- phpstan/phpstan: ^0.12
- phpstan/phpstan-deprecation-rules: ^0.12
- phpstan/phpstan-nette: ^0.12
- phpstan/phpstan-phpunit: ^0.12
- phpunit/phpunit: ^7.5 || ^8.3 || ^9.0
- squizlabs/php_codesniffer: ^3.5
- symfony/dotenv: ^3.4 || ^4.0 || ^5.0
- symfony/phpunit-bridge: ^3.4 || ^4.0 || ^5.0
README
Symfony 4.4.x-5.0.x bundle for detect mobile devices, manage mobile view and redirect to the mobile and tablet version.
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
The bulk of the documentation is stored in the Resources/doc/index.md
file in this bundle:
Read the Documentation for master
License
This bundle is under the MIT license. See the complete license in the bundle:
Resources/meta/LICENSE