🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
PHP Browser Detection icon
Möglicherweise aufgegeben Tested up to 4.3.34 #5 in browser

PHP Browser Detection

Version 3 adds support for is_tablet(), is_desktop(), and is_browser() as well as numerous bug fixes and code improvements. As of version 3.1.2 automatic updates of browscap.ini are disabeld until we can deal with…

Aktive Installationen500+100+ Stufe
Downloads · 30d237▲ +38.6% vs prev. 30d
Wertung4.1/516 reviews
Gesundheits-Score35/100In Gefahr
Downloads aller Zeiten47.4KSince Jan 2010
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP —PHP ANY
Downloads · 7d70▲ +9.4% week over week
Unser Urteil

Betrachten Sie eine Alternative

PHP Browser Detection shows warning signs in 2026 — compare the alternatives below before installing. It runs on 500+ sites, is rated 4.1/5 and was last updated 11 years ago, and scores 35/100 on our health check.

  • Kleine Benutzerbasis (500+ aktive Installationen)
  • Kein Update in 11 Jahren
  • Only tested up to WordPress 4.3 (latest is 7.1)

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

4913Aug 31Oct 14Nov 28
Gestern9
Täglicher Durchschnitt (1 Jahr)3
Spitzentag18Nov 26, 2026
Letzte 12 Monate1.2K

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where PHP Browser Detection stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
browser >100 10,000 Best browser plugins →
browser detection >100 3,096 Best browser detection plugins →
internet explorer >100 451 Best internet explorer plugins →
iphone >100 865 Best iphone plugins →
php >100 10,000 Best php plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 3.1100.0%

Bewertungsaufschlüsselung

★★★★★★★★★★ 4.1 from 16 reviews

  • 5★62.5%
  • 4★18.8%
  • 3★0.00%
  • 2★6.3%
  • 1★12.5%

About PHP Browser Detection

From the official readme · v3.1.8

Beschreibung

Version 3 adds support for is_tablet(), is_desktop(), and is_browser() as well as numerous bug fixes and code improvements. As of version 3.1.2 automatic updates of browscap.ini are disabeld until we can deal with memory usage issues.

PHP Browser Detection is a WordPress plugin used to detect a user’s browser. It can be used to send conditional CSS files for Internet Explorer, display different content or custom messages anywhere on the page, or to swap out Flash for an image for iPhones.

Template Tags:

Test for specific browsers:

$version is optional. Include a major version number, a single integer – 3,4,5, etc… Or leave it empty to test for any version.

<?php if(is_firefox($version)) { /* your code here */ }; ?>

<?php if(is_safari($version)) { /* your code here */ }; ?>

<?php if(is_chrome($version)) { /* your code here */ }; ?>

<?php if(is_opera($version)) { /* your code here */ }; ?>

<?php if(is_ie($version)) { /* your code here */ }; ?>

<?php if(is_browser($name, $version)) { /* your code here */ }; ?>

Check for mobile, tablet, iPhone, iPad, iPod, etc…

<?php if(is_desktop()) { /* your code here */ }; ?>

<?php if(is_tablet()) { /* your code here */ }; ?>

<?php if(is_iphone($version)) { /* your code here */ }; ?>

<?php if(is_ipad($version)) { /* your code here */ }; ?>

<?php if(is_ipod($version)) { /* your code here */ }; ?>

<?php if(is_mobile()) { /* your code here */ }; ?>

Check for greater than / less than a specific version…

Less than or equal to Firefox 19:
< ?php if(is_firefox() && get_browser_version()

Less than or equal to IE 10:
< ?php if(is_ie() && get_browser_version()

Greater than or equal to Safari 4:
= 4) { /* your code here */ }; ?>

these are just a few examples, but this syntax will work for any browser or version.

Check specific versions…

Is the browser IE6?

Is the browser IE10?

Or you can get all the info and do what you want with it:

Get just the name…

<?php $browser_name = get_browser_name(); ?>

Get the full version number – 3.2, 5.0, etc…

<?php $browser_version = get_browser_version(); ?>

Or get it all in array…

<?php $browser_info = php_browser_info(); ?>

Shortcodes:

Test for specific browsers:

[is_browser name="chrome" version="45"]
<p>You are using Chrome 45 or above.</p>
[/is_browser]

Output all browser info:

[browser_info]

Installation

  1. Automatically install through the Plugin Browser or…
  2. Upload entire php-browser-detection folder to the /wp-content/plugins/ directory.
  3. Aktivieren Sie das Plugin über das „Plugins“-Menü in WordPress.

Änderungsprotokoll

3.1.8

  • Add missing include file
  • Confirm filters aren’t working (needs refactor)

3.1.7

  • Added shortcodes

3.1.6

  • Bugfix for 3.1.5

3.1.5

  • Updated Browscap to 2.0.5
  • Re-enable auto-updates
  • Added filter to turn off auto updates for host with low memory.
  • Added FAQ about manually updating.
  • Added global variable for $browser_info = php_browser_info();

3.1.4

  • Updated default browscap.ini

3.1.3

  • Updated default browscap.ini
  • Migrated Browscap.php to use asgrim’s fork
  • Added ID param for tests

Vollständiges Änderungsprotokoll auf WordPress.org →

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best PHP Browser Detection alternatives

All browser plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 WP Console – WordPress PHP Console powered by PsySH WP Console – WordPress PHP Console powered by PsySH An in-browser PHP console for WordPress powered by PsySH by Edi Amin 20K+ ★★★★★★★★★★ 5 (21) Vor 3 Monaten 69
2 Browser Screenshots Browser Screenshots Automate the process of taking website screenshots. by Kevin Leary 3K+ ★★★★★★★★★★ 4.8 (19) Vor 3 Jahren 39
3 WP BrowserUpdate WP BrowserUpdate This plugin notifies website visitors to update their outdated browser in a non-intrusive… by MacSteini 1K+ ★★★★★★★★★★ 4.6 (16) 18 hours ago 80
4 Polylang – Country Detection Polylang – Country Detection This plugin detects the preferred language according on the country. by Markus Wiesenhofer 1K+ ★★★★★★★★★★ 5 (2) Vor 4 Jahren 34
6 Developer Tools Blocker Developer Tools Blocker This plugin blocks non-admin users from using inspect element, while still allowing access… by SwiftNinjaPro 300+ ★★★★★★★★★★ 4.2 (15) Vor 4 Jahren 35
7 Friendly User Agent for WooCommerce Friendly User Agent for WooCommerce Displays the user agent (device/platform, browser and browser version) that was used by a… by Blaze Concepts 300+ ★★★★★★★★★★ 5 (10) Vor 4 Jahren 38
8 Open Search Document Open Search Document Lets browsers search your site straight from the address bar. by Matthias Pfefferle 200+ ★★★★★★★★★★ 5 (4) Vor 2 Monaten 72
9 WP-UserAgent WP-UserAgent WP-UserAgent is a simple plugin that allows you to display details about a computer's… by kyleabaker 100+ ★★★★★★★★★★ 5 (5) Vor 6 Jahren 37
10 Browser Specific CSS Browser Specific CSS The Browser Specific CSS Plugin allows you to easily target specific browsers and operating… by Adrian Hanft 100+ ★★★★★★★★★★ 5 (4) Vor 13 Jahren 32
11 WP Outdated Browser WP Outdated Browser Show a message if the user using a outdated browser. by Deblyn Prado 100+ ★★★★★★★★★★ 4 (4) Vor 11 Jahren 29

Fragen und Antworten

PHP Browser Detection: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is PHP Browser Detection free?

Yes. PHP Browser Detection is free to download and use from the official WordPress.org plugin directory.

Is PHP Browser Detection safe to use in 2026?

PHP Browser Detection shows warning signs in 2026 — compare the alternatives below before installing. It runs on 500+ sites, is rated 4.1/5 and was last updated 11 years ago, and scores 35/100 on our health check.

How many websites use PHP Browser Detection?

PHP Browser Detection is active on 500+ WordPress websites and has been downloaded 47,413 times since it launched in January 2010. It was downloaded 237 times in the last 30 days.

Does PHP Browser Detection work with WordPress 7.1?

PHP Browser Detection is officially tested up to WordPress 4.3.34, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was PHP Browser Detection last updated?

The latest version, 3.1.8, was released on September 8, 2015 (11 years ago).

Who makes PHP Browser Detection?

PHP Browser Detection is developed and maintained by Mindshare Labs, Inc..

What are the best alternatives to PHP Browser Detection?

The most popular alternatives to PHP Browser Detection are WP Console (20K+ installs), Browser Screenshots (3K+ installs) and WP BrowserUpdate (1K+ installs).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen