4 Steps - Download, Unzip, Include, Go Mobile with PHP

Add mobile device detection to PHP the easy way with 51Degrees.mobi. No cloud services, no external plug-ins, all Mozilla Public Licence source code. It's a great alternative to WURFL or DeviceAtlas.

Step 1 - Download the Zip file from SourceForge.

Step 2 - Unzip the file into a directory of your choice within your project.

Step 3 - Then add the following code to your PHP page file:

include_once('path/to/51Degrees.php');
include_once('path/to/51Degrees.usage.php');

(It is recommended for performance purposes that these lines are included after a session_start();)

Step 4 - Get the details about the device that is accessing your site with code like this:

if ($_51d[‘IsMobile’] == TRUE)
{
//Start coding for a mobile device here.
}

Read the full user guide on our web site.

Features

  • No cloud service required - Free
  • No external PHP plug-ins needed
  • Mozilla Public Licence 2.0 licenced
  • Supported by a freemium business model
  • Simple to setup
  • ASP and .NET available at Codeplex

Project Samples

Project Activity

See All Activity >

Categories

WAP, Internet, Mobile

License

Mozilla Public License 2.0 (MPL 2.0)

Follow 51Degrees-PHP

51Degrees-PHP Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
0
0
0
1
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • Easy to use, fast and accurate.
    1 user found this review helpful.
  • This service is fantastic. It's easy to use, reliable, powerful, feature-rich and developer-friendly. Copy the files, add the reference and bingo, you can detect the type of device accessing your site. Well done 51Degrees!
Read more reviews >

Additional Project Details

Intended Audience

Architects, Developers, Information Technology, Telecommunications Industry

Programming Language

PHP

Related Categories

PHP WAP Software, PHP Internet Software, PHP Mobile Software

Registered

2011-07-23