Mobile OS detection in PHP CodeIgniter

For doing this there is one good plugin called “Mobile Detect”.

Just download library from Put Mobile_Detect.php inside libraries folder of ci application.

Whenever you need to detect the OS or any other parameter, use following code:

You can find variety of functions like this in here:

Find documentation for this on:

All the best !!! And dont forget to like our page 🙂

Ganesh Bhosale

From a laptop to a full organization, Ganesh has traveled a tough road. A commando, armed with the latest tech & a huge warehouse of knowledge, he leads by example & is here for the long haul. His strong belief in giving back more has borne rich fruits, both for his employees & clients.

You may also like...

3 Responses

  1. How efisieansi using libray user agent or add up your library to handle detect device, please respond also to my email, thanks


  2. Freddy says:

    Hello is it tested readl device or not sir ? thanks

Leave a Reply

Your email address will not be published. Required fields are marked *