# Kirby3 Mobile Detect - get device information in PHP

**URL:** <https://forum.getkirby.com/t/kirby3-mobile-detect-get-device-information-in-php/23584>\
**Category:** Plugins\
**Tags:** v3\
**Created:** [October 1, 2021, 9:44pm UTC](https://forum.getkirby.com/t/kirby3-mobile-detect-get-device-information-in-php/23584 "2021-10-01T21:44:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bnomei](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/bnomei/32/775_2.png) [@bnomei](https://forum.getkirby.com/u/bnomei)\
**Post date:** [October 1, 2021, 9:44pm UTC](https://forum.getkirby.com/t/kirby3-mobile-detect-get-device-information-in-php/23584/1 "2021-10-01T21:44:06Z")

</div>

> I am creating posts for [my plugins](https://getkirby.com/plugins/bnomei) to make it easier to find them using the forum search and not just the docs search.

Static Class and Page Methods for using the popular and well tested [Mobile Detect](https://github.com/serbanghita/) library.

> **[GitHub - bnomei/kirby3-mobile-detect: Static Class and Page Methods for using Mobile...](https://github.com/bnomei/kirby3-mobile-detect)**
>
> Static Class and Page Methods for using Mobile Detect Lib

```php
$detect = $page->detect();
// https://github.com/serbanghita/Mobile-Detect/wiki/Code-examples
$detect->is('Chrome');

$isMobile = $page->isMobile();
// or
$isMobile = Bnomei\MobileDetect::instance()->isMobile();
$isTablet = $page->isTablet();

```

With `Bnomei\MobileDetect::instance()` you have access to **all** [detections functions](https://github.com/serbanghita/Mobile-Detect/wiki/Code-examples) and can get more detailed information about used browser, phone model, …
