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