PHP Mobile Detection Class
This class can detect the type of mobile device checking headers. It can check the HTTP request user agent and other request headers and detect the type of mobile device if the request comes from a user with a mobile browser. The class looks up at an internal list of user agent strings known to be of mobile devices and returns information of whether the device is mobile or not, or is a phone or tablet, get the operating system.