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

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start 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