Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Orgil's avatar
Level 2

Detect mobile and use specific resources.

Is there anyway to detect that when user login using computer or mobile. If user is login using mobile device. I want to use specific controller, middleware. Separate controllers, middlewares, routes for mobile in one app. Any suggestion ?

0 likes
2 replies

Please or to participate in this conversation.