🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Conta Get it free
PHP Browser Detection icon
Possivelmente abandonado Testado até 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…

Instalações ativas500+100+ nível
Downloads · 30d237▲ +38.6% vs prev. 30d
Classificação4.1/516 comentários
Pontuação da saúde35/100Em risco
Downloads de todos os tempos47.4KSince Jan 2010
Suporte resolvido—Sem tópicos recentes
RequerWP—Php qualquer
Downloads · 7d70▲ +9.4% week over week
Nosso veredicto

Considere uma alternativa

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.

  • Base de usuários pequenas (mais de 500 instalações ativas)
  • Nenhuma atualização em 11 anos
  • Testado apenas até WordPress 4.3 (mais recente é 7.1)

Como ele se acumula?

Lado a lado em instalações, atualizações, avaliações e suporte

Downloads diários

4913Aug 31Oct 14Nov 28
Ontem9
Média diária (1y)3
Dia de pico18Nov 26, 2026
Últimos 12 meses1.2K

Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.

Rankings

Where PHP Browser Detection stands today

WordPress.org Classificações de pesquisa

Posição ao vivo na pesquisa de plugins, top 100
Palavra chavePosiçãoPlugins concorrentesCategoria
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 →

Adoção da versão

Compartilhamento de sites ativos por lançamento.

  • 3.1100.0%

Divisão de classificação

★★★★★★★★★★ 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

Descrição

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]

Instalação

  1. Automatically install through the Plugin Browser or…
  2. Upload entire php-browser-detection folder to the /wp-content/plugins/ directory.
  3. Ative o plugin através do menu 'Plugins' em WordPress.

Log de Changes

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

Registro de change completo em WordPress.org →

Para desenvolvedores

Este é o seu plugin? Mostre os números.

Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.

Selo de Instalações Ativas Selo de classificação Distintivo de pontuação de saúde

Best PHP Browser Detection alternatives

All browser plugins →
Alternativas
Classificação Plugin Instalações ativas Classificação Atualizada Saúde
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) 3 meses atrás 69
2 Browser Screenshots Browser Screenshots Automate the process of taking website screenshots. by Kevin Leary 3K+ ★★★★★★★★★★ 4.8 (19) 3 anos atrás 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) 19 horas atrás 80
4 Polylang – Country Detection Polylang – Country Detection This plugin detects the preferred language according on the country. by Markus Wiesenhofer 1K+ ★★★★★★★★★★ 5 (2) 4 anos atras 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) 4 anos atras 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) 4 anos atras 38
8 Open Search Document Open Search Document Lets browsers search your site straight from the address bar. Por Matthias Pfefferle 200+ ★★★★★★★★★★ 5 (4) 2 meses atrás 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) 6 anos atrás 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) 13 anos atrás 32
11 WP Outdated Browser WP Outdated Browser Show a message if the user using a outdated browser. by Deblyn Prado 100+ ★★★★★★★★★★ 4 (4) 11 anos atrás 29

FAQ

PHP Browser Detection: quick answers

Respostas diretas, extraídas de dados ao vivo WordPress.org.

Fonte: 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).

Alimentado por PageForge

Um modelo e uma planilha. Uma página real para cada pesquisa.

PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.

  • CSV e XLSX, mais Google Sheets em Profissional e Empresarial
  • Seu próprio título, URL, SEO campos e esquema para cada página
  • Funciona com o editor de blocos, Elementor, Divi e Avada
  • Gratuito em WordPress.org, sem cartão de crédito

↑↓ mover↵ abrir