• About Us
  • Blog
  • Basket
  • Account
  • Sign In


Published on Friday, May 4, 2012

51Degrees.mobi introduces simple mobile device detection for PHP developers

51Degrees.mobi, the leading provider of device detection and web optimisation solutions, has expanded its portfolio to include PHP. The PHP scripting language is powerful and flexible, making it a popular choice for web site developers. Around a third of all websites currently use PHP.

This means even more developers and site owners can now discover whether the visiting device is a tablet, whether it’s a smart phone, what the screen size is – and they can then adjust the online content accordingly.

Unlike other device detection solutions, 51Degrees.mobi does not require cloud services or external plug-ins and is free for commercial use.

There are just four straightforward implementation steps:

1: Download the file, which is available as a free beta via http://51Degrees.mobi/php or by searching sourceforge.net or github.com for 51Degrees.mobi.

2: Unzip the contents of the file into your PHP project folder.

3: Add a single line of code to your PHP file.

4: Discover what each device accessing your web site is (tablet, mobile, desktop, etc) and what it is capable of, enabling customised content and formatting to be applied to the resulting web page.

The 51Degrees.mobi PHP code is licensed under the Mozilla Public Licence 2.0 and is supported by a ‘freemium’ business model, which means there’s no charge for basic device detection – even for commercial use!

This new self-contained 51Degrees.mobi for PHP solution means developers can start using mobile device detection within three minutes.

51Degrees.mobi for PHP is being released as a beta, giving developers the ability to offer feedback that shapes the final product. Plug-ins will be available for WordPress, Joomla, Drupal and CodeIgniter, with others planned for the future. The Premium version of device data will also offer the option of automatic updates when new handsets are released.

James Rosewell, CEO of 51Degrees.mobi, said “It’s never been easier to add mobile device detection to a web site. Our four steps take less than three minutes to implement: simply download, unzip, include and go mobile!”

“Cloud services introduce an unnecessary additional complexity and, ultimately, offer a poor technical solution for any web site requiring device detection. The new beta version of 51Degrees.mobi for PHP demonstrates how it’s possible to detect mobile devices quickly, efficiently and - with our Lite product - for free. The result is a better experience for web site owners and for their online visitors. If you're a web site owner, tell your developer to visit http://51degrees.mobi/php and let them show you how easy it is to get started.”

About 51Degrees.mobi:

51Degrees.mobi provides a portfolio of technologies that extend an organisation’s existing online skills and investment to work on mobile devices as well. It delivers cost-effective, risk-free device detection, web optimisation and mobile analytics solutions enabling developers to maximise the customer’s experience of using a smaller screen. With over 25 years’ management expertise in developing and managing mobile web services, 51Degrees.mobi is used by 10,000s of websites and supports over 180 million devices visits every month. The company is headquartered in the UK and also has offices in India.

Comments (0)

Author: Products Team

Categories: News

Tags: Device Detection , Mobile , PHP , Web

James Rosewell

Products Team

Other posts by Products Team
Contact author



.NET 2013 2014 4G 51Degrees 5G A.C.Roma A7 ABI Acer Adtech Affiliate Marketing Afilias Alcatel Amazon AMP Analysis Analytics Android Android 5.0 Lollipop Android Kitkat Android Lollipop Android Media Stick Apache API Apple Apple TV Archos Asha Asian Market ASP.NET Asus Australia Big Data Black Friday Blackberry Blink Browser C C# Case Study CeBIT CES Chrome Cloud CMS combinations Comparison Competition CoolPad COTW Cron CSS3 Data Data Blog Data File Data Model Daydream Denver Design Desire Eye Desktop Detection Developers Device Device Data Device Detection Device Intelligence Device Popularity Device property Device Types Device Use DeviceAtlas Display dmexco DoCoMo Doogee DotNetNuke Download Drupal Email EReader E-Reader Ericsson Evaluation Event Examples EXPLAY Rio Facebook feature Firefox Firefox OS Fly Foundation Framework France Galaxy S3 Galaxy S5 Galaxy Tab A Galaxy Tab A 8.0 Galaxy Tab A 9.7 Germany git repositories Global Google Google Daydream GSMA HAProxy Hardware Hisense HTC HTC ONE MAX HTC OS HTML5 HTTP HTTP Headers Huawei HUAWEI. UPDATE HUDL Huwaei IBC Icemobile Prime 4.0 IE IFA IIS Image Optimiser Image Optimizer India Infographic Ingeniux Internet usage iOS iOS 7 iOS 8 ipad iPhone iPhone 6 IsEmailBrowser IsWebApp Italy Japan Java Javascript Jolla Kentico Keynote Kindle Kindle Fire Kindle Fire HD Leagoo Lenovo LG Location Log File Analysis LTE Lumia m.dot macOS Map Memory Meta Data Mi 4S Micromax Microsoft Miia Style Mobile Mobile Analysis Mobile Analytics Mobile Devices Mobile Marketing Mixer Module Motorola MVC4 MWC MWC 2017 MWC16 MyPhone Native Native Apps NET New Release News News Letter Nexus Nexus 6 Nexus 9 NFC NGINX Nokia Nokia 3310 Non-Mobile NVIDIA Omate On7 OnePlus 5 Opera Opera Mini Operating System Optimisation OS OSX 10.10 OTA Panasonic Patent PC Pebble Performance phablet phone PHP Poland Presentation Press Release Price Band PRIV programmatic PS4 Publishers Python QMobile QR Codes Redirection Research Reseller Responsive Images Responsive web design RESS Review reviews RIM Ringmark RTB RWD Safari Samsung Scala ScientiaMobile Screen Screen resolution Screen Size SEO Server Server-side optimisation Set Box Set Top Box Sharepoint Shark 1 SHIFT phones Sitecore Sitecore version 9 SLUSH Smart TV Smartphone Smartphones Smartwatches Snapdragon Sony Sony Xperia Spain Swedish Beers Symbian Tablet Tablets Tesco Testing Tips Top 5 TOTW Tutorial TV UDS UK Umbraco Update updates US User Agent UserAgent User-Agent Vendors Version 3 Video VoLTE VR Wearable Web Web Apps Web content management WebKit WebMatrix White Paper Widgets Widnows WiFi Wiko Wileyfox Windows Windows Phone WURFL Xbox XBox One Xiaomi Xperia Xperia z Yosemite Z10 ZenFon 2 ZOPO ZTE