This is very simple and useful tip to detect that your user is using Android or iOs device to log in to your website in CakePHP 3 it is even easier

CakePHP 3 device detection 

Core PHP

Hope this tip help you.

If this code help you plz like and share this with other