3

Is there a recommended way to perform a mobile or browser check/detection with zf2? I am surprised there seems to be no module developed to handle this...

2 Answers2

2

I found some ways to do that:

Or by PHP class

You can find a lot of snippets online, like this

Remi Thomas
  • 1,528
  • 1
  • 15
  • 25
  • 1
    Mobile-Detect worked for me. There are quite a number of plugins available for various frameworks. – KalenGi Jun 26 '15 at 06:23
0

Please take a look at neilime/ZF2 Mobile-Detect module and another one nikolaposa/MobileDetectModule, both provides serbanghita/Mobile-Detect features.

webcoder
  • 1,355
  • 1
  • 15
  • 14