All Projects → ipublikuj-archive → Mobile Detect

ipublikuj-archive / Mobile Detect

Licence: other
Extension for detecting mobile devices, managing mobile view types, redirect to mobile version for Nette Framework (2.4+)

Projects that are alternatives of or similar to Mobile Detect

psr7-http-message
💫 PSR #7 [HTTP Message Interface] to Nette Framework (@nette)
Stars: ✭ 17 (-10.53%)
Mutual labels:  nette, nette-framework
Schema
📐 Validating data structures against a given Schema.
Stars: ✭ 359 (+1789.47%)
Mutual labels:  nette, nette-framework
Forms
📝 Generating, validating and processing secure forms in PHP. Handy API, fully customizable, server & client side validation and mature design.
Stars: ✭ 272 (+1331.58%)
Mutual labels:  nette, nette-framework
codeception
▶️ Integration of Nette Framework to Codeception.
Stars: ✭ 27 (+42.11%)
Mutual labels:  nette, nette-framework
Neon
🍸 Encodes and decodes NEON file format.
Stars: ✭ 674 (+3447.37%)
Mutual labels:  nette, nette-framework
command-line
⌨ Command line options and arguments parser.
Stars: ✭ 35 (+84.21%)
Mutual labels:  nette, nette-framework
Mail
📧 Handy email creation and transfer library for PHP with both text and MIME-compliant support.
Stars: ✭ 288 (+1415.79%)
Mutual labels:  nette, nette-framework
slim-nette-extension
Nette Extension for Slim API micro-framework using middlewares.
Stars: ✭ 17 (-10.53%)
Mutual labels:  nette, nette-framework
Di
💎 Flexible, compiled and full-featured Dependency Injection Container with perfectly usable autowiring and support for all new PHP 7 features.
Stars: ✭ 645 (+3294.74%)
Mutual labels:  nette, nette-framework
Latte
☕ Latte: the intuitive and fast template engine for those who want the most secure PHP sites.
Stars: ✭ 616 (+3142.11%)
Mutual labels:  nette, nette-framework
playground
📚 Examples, projects, webprojects, skeletons for Nette Framework (@nette) from community members. Included @contributte @apitte @nettrine projects.
Stars: ✭ 23 (+21.05%)
Mutual labels:  nette, nette-framework
Finder
🔍 Finder: find files and directories with an intuitive API.
Stars: ✭ 765 (+3926.32%)
Mutual labels:  nette, nette-framework
orm
🔥 Well-integrated Doctrine ORM for Nette Framework
Stars: ✭ 51 (+168.42%)
Mutual labels:  nette, nette-framework
migrations
🏃 Doctrine Migrations for Nette Framework
Stars: ✭ 36 (+89.47%)
Mutual labels:  nette, nette-framework
logging
💥 Universal logging support to Tracy / Nette Framework (@nette)
Stars: ✭ 18 (-5.26%)
Mutual labels:  nette, nette-framework
Tester
Tester: enjoyable unit testing in PHP with code coverage reporter. 🍏🍏🍎🍏
Stars: ✭ 281 (+1378.95%)
Mutual labels:  nette, nette-framework
reCAPTCHA
‼️ Google reCAPTCHA (security) for Nette Framework \ Forms
Stars: ✭ 35 (+84.21%)
Mutual labels:  nette, nette-framework
application
✨ Extra contrib to nette/application (@nette)
Stars: ✭ 23 (+21.05%)
Mutual labels:  nette, nette-framework
Bootstrap
🅱 The simple way to configure and bootstrap your Nette application.
Stars: ✭ 524 (+2657.89%)
Mutual labels:  nette, nette-framework
Robot Loader
🍀 RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.
Stars: ✭ 690 (+3531.58%)
Mutual labels:  nette, nette-framework

MobileDetect

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].