Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
In general, we do nothing on the server regarding mobile devices. Everything is resolved from the client (feature detection, no binding to the user agent of the browser) and adaptive design if possible.
But if you really want to - there is https://github.com/browscap/browscap-php which uses a third-party service and therefore returns less up-to-date data. But you have to wrap it in caches.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question