netbull/mobile-detect-bundle
最新稳定版本:v7.0.2
Composer 安装命令:
composer require netbull/mobile-detect-bundle
包简介
Symfony 4/5/6 bundle for detect mobile devices, managing mobile view types, redirect to mobile version.
README 文档
README
MobileDetectBundle
Symfony 4/5/6 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
Installation
-
Install the latest version via composer:
composer require netbull/mobile-detect-bundle --dev
-
If you don't use Symfony Flex, you must enable the bundle manually in the application:
// config/bundles.php // in older Symfony apps, enable the bundle in app/AppKernel.php return [ // ... SunCat\MobileDetectBundle\MobileDetectBundle::class => ['dev' => true], ];
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
Credits
统计信息
- 总下载量: 112.69k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-12-05