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...
I found some ways to do that:
Or by PHP class
You can find a lot of snippets online, like this