How to detect device using PHP

Detect mobile

With more requirement of responsive websites it a basic requirement to detect device and browser of user accessing website. Here is an opensource class in PHP to detect device as well OS/browser and other features including tablets.

Plugins of this class are also available for WordPress, Joomla, Magento.

Demo:
http://demo.mobiledetect.net

Download:
http://mobiledetect.net

If you don’t wish to go much into code and need a quick solution, an alternate can also be:

[code]

[/code]

Thanks to an unknown author for above quick fix. : )

I am a Technical consultant with over 16 years of experience in developing, leading, and consulting on various web and mobile applications for startups and businesses. My core competencies include open-source frameworks, PHP, Marketo, WordPress and Digital Marketing Strategy. I am also a certified Microsoft Professional and a graduate of the Executive Program in Digital and Social Media Marketing from IIM Raipur. I lead a team of talented and passionate developers, designers, and marketers who deliver innovative and impactful solutions for our clients. We work with the latest technologies and methodologies, such as AI, cloud computing, agile, and DevOps, to create user-friendly, scalable, and secure products that meet the needs and expectations of our customers.

More Posts - Twitter - LinkedIn - Google Plus