承接 ipub/mobile-detect 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ipub/mobile-detect

最新稳定版本:v3.0.0

Composer 安装命令:

composer require ipub/mobile-detect

包简介

Extension for detecting mobile devices, managing mobile view types, redirect to mobile version for Nette Framework

README 文档

README

Build Status Scrutinizer Code Coverage Scrutinizer Code Quality Latest Stable Version Composer Downloads License

Extension for detecting mobile devices, managing mobile view types, redirect to mobile version for Nette Framework

Introduction

This extension 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 variuos mobile devices (mobile, phone, tablet, full)
  • Redirects to mobile and tablet sites

Installation

The best way to install ipub/mobile-detect is using Composer:

$ composer require ipub/mobile-detect

After that you have to register extension in config.neon.

extensions: mobileDetect: IPub\MobileDetect\DI\MobileDetectExtension 

Package contains trait, which you will have to use in class, where you want to use mobile detector.

<?php  class BasePresenter extends Nette\Application\UI\Presenter {  use IPub\MobileDetect\TMobileDetect;    // Rest of code... }

Documentation

Learn how to get info about visitor device in documentation.

Homepage https://www.ipublikuj.eu and repository http://github.com/iPublikuj/mobile-detect.

统计信息

  • 总下载量: 58.78k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 19
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 19
  • Watchers: 5
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2026-01-04