Not recommended for new sites
Better alternatives to PHP Browser Detection
- Problem: Not maintained Last updated 11 years ago (version 3.1.8).
- Problem: Not tested with recent WordPress Tested up to WordPress 4.3; the current release is 7.1.
- Pass: Well rated Rated 4.1/5 by 16 users on WordPress.org.
- Note: Small user base Active on 500+ sites.
For a new site, or if you are planning a rebuild, choose a plugin that is still maintained. Unmaintained plugins stop getting security fixes and tend to break as WordPress and PHP move on.
Best match
WP Console
Updated 3 months ago, tested with WordPress 7.1, rated 5.0/5 by 21 users, used on 20,000+ sites.
| Compare | PHP Browser Detectionthis plugin | WP Console |
|---|---|---|
| Last updated | 11 years ago | 3 months ago |
| Tested up to | WordPress 4.3 | WordPress 7.1 |
| Active installs | 500+ | 20,000+ |
| Rating | 4.1 / 5 (16) | 5.0 / 5 (21) |
| PHP code size | 185 KB in 10 PHP files | β |
| Hooks for developers | 7 | 6 |
Switching from PHP Browser Detection?
- Try the replacement on a staging copy of your site first.
- Note your current settings, shortcodes and widgets. They won't carry over automatically.
- Activate the new plugin, recreate the setup, then deactivate and delete the old one.
Need your settings or data moved over? We can migrate it for you.
Find other outdated plugins on your site with the free plugin checker β
Alternatives are matched on features and ranked by maintenance, WordPress compatibility, ratings and adoption, using WordPress.org data.
Overview
PHP Browser Detection describes itself as: βPHP Browser Detection is a WordPress plugin used to detect a user's browser. Please report any bugs on the support forums.β
It is active on 500+ WordPress sites and rated 4.1 out of 5 by 16 users on WordPress.org. Developers can extend it through 0 actions and 7 filters, listed below.
Downloads & growth
How often PHP Browser Detection is downloaded from WordPress.org each day, over the last 90 days.
Source: WordPress.org download statistics. Downloads include updates on existing sites, so tall spikes usually mark a new release. See what's trending β
How to install PHP Browser Detection
- Open the plugin installer. In your WordPress dashboard go to Plugins β Add New Plugin.
- Search for it. Type βPHP Browser Detectionβ and pick the one by Mindshare Labs, Inc.
- Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI
Download the zip from the WordPress.org plugin page, then go to Plugins β Add New Plugin β Upload Plugin, choose the file and click Install Now. Or from the command line:
wp plugin install php-browser-detection --activateHooks & customisation
PHP Browser Detection 3.1.8 fires 0 actions and 7 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.
// Filter in inc/shortcodes.php
apply_filters( 'browser_info_end', '</pre></div>' );
// Filter in inc/shortcodes.php
apply_filters( 'browser_info_middle', print_r($browser_info, TRUE) );
// Filter in inc/shortcodes.php
apply_filters( 'browser_info_start', '<div class="php-browser-info"><pre>' );
// Filter in php-browser-detection.php
apply_filters( 'php_browser_detection_autoupdate', TRUE );
// Filter in php-browser-detection.php
apply_filters( 'php_browser_detection_cache_dir', PBD_DIR_PATH . 'cache' );
// Filter in php-browser-detection.php
apply_filters( 'php_browser_detection_cache_time', 2592000 );PHP Browser Detection: frequently asked questions
Is PHP Browser Detection free?
Yes. PHP Browser Detection is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.
Is PHP Browser Detection safe to use?
PHP Browser Detection has not been updated for 11 years. Plugins without updates stop receiving security fixes, so we recommend a maintained alternative for new sites. Users rate it 4.1 out of 5 from 16 reviews on WordPress.org. As with any plugin, keep it updated and only install it from WordPress.org or the developer.
Does PHP Browser Detection work with WordPress 7.1?
It isn't confirmed. PHP Browser Detection was last tested with WordPress 4.3, 28 releases behind the current 7.1, so test it on a staging site before relying on it.
How many websites use PHP Browser Detection?
PHP Browser Detection is active on 500+ WordPress sites, according to WordPress.org. It is currently at version 3.1.8, last updated on September 8, 2015.
What are the best alternatives to PHP Browser Detection?
Plugins that do a similar job and are actively maintained include WP Console (20,000+ installs). See the side-by-side comparison.
Can I customise PHP Browser Detection without editing its code?
Yes. PHP Browser Detection 3.1.8 fires 0 actions and 7 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 7 hooks with examples.
Done for you
Let us deal with PHP Browser Detection for you
Move to a maintained plugin without losing your settings, or keep this one and have it brought up to date.
Plugin replacement & migration
from $199
Swap a risky plugin for a maintained one and keep your settings and data.
- We pick a maintained alternative with you
- Settings, content and data moved over
- Tested on staging before going live
- Old plugin removed cleanly
Typical turnaround: 3β5 business days
Choose thisUpdate an abandoned plugin
from $249
Keep the plugin your site depends on, made safe for current WordPress and PHP.
- Compatibility with current WordPress and PHP
- Security review and fixes
- Deprecated code replaced
- You keep a maintained copy
Typical turnaround: 5β10 business days
Choose thisNot sure which fits? Describe what you need and weβll suggest the simplest option.
Need PHP Browser Detection customised?
Tell us what you want changed, added or fixed and we'll reply with an estimate.
WP EXPERTS is independent and not affiliated with Mindshare Labs, Inc. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 19, 2026.