This is an extremely complicated and almost completely useless browser-sniffing library. Useless because you shouldn't use browser sniffing. So stop right now and go read something about feature detecting instead. I'm serious. Go away. You'll thank me later. There is always an exception to the rule. There are valid reasons to do browser sniffing: to improve the user experience or to gather intelligence about which browsers are used on your website. My website is html5test.com and I wanted to know which score belongs to which browser. To do that you need a browser sniffing library. Almost all browsers say they are Netscape 5 and almost all WebKit browsers say they are based on Gecko. Even Internet Explorer 11 now no longer claims to be IE at all, but instead, an unnamed browser that is like Gecko. And it gets worse. That is why it is complicated.

Features

  • WhichBrowser requires with PHP 7.0 or higher and supports PHP 8
  • Documentation available
  • You can easily update WhichBrowser by running a simple command
  • It is possible to set additional options by passing an array as the second parameter when creating the Parser object
  • Disable detection of bots
  • Examples available
  • Enable result caching

Project Samples

Project Activity

See All Activity >

Categories

Browsers, Libraries

License

MIT License

Follow WhichBrowser

WhichBrowser Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of WhichBrowser!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Browsers, PHP Libraries

Registered

2024-05-22