Skip to content

Commit

Permalink
Version 2.9.6 (release)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfcast committed May 2, 2022
1 parent 88cfc2d commit e8b0865
Show file tree
Hide file tree
Showing 11 changed files with 2,569 additions and 2,470 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,31 @@ Features

The [Wolfcast](https://wolfcast.com/) BrowserDetection PHP class is the most accurate detection class. **It has been tested with 14000+ different user agent strings and it have a 99.95% accuracy ratio!**

Natively detects the following broswers:
Natively detects the following browsers:

* Android
* BlackBerry
* BlackBerry Tablet OS
* Chrome 0.2 - 79+
* Edge (Including the new Edge based on Chromium)
* Chrome
* Edge
* Firebird
* Firefox 0.10 - 72+
* Firefox
* GNU IceCat
* GNU IceWeasel
* iCab
* Internet Explorer 1 - 11
* Internet Explorer
* Internet Explorer Mobile
* Konqueror
* Lynx
* Mozilla
* MSN TV
* Netscape
* Nokia Browser
* Opera 4.02 - 66+
* Opera
* Opera Mini
* Opera Mobile
* Phoenix
* Safari 1 - 13+
* Safari
* Samsung Internet
* UC Browser

Expand All @@ -56,6 +56,7 @@ You can also easily add custom rules to support other robots not natively suppor
Natively detects the following platforms:
* Android
* BlackBerry
* Chrome OS
* FreeBSD
* iOS
* Linux
Expand All @@ -74,7 +75,7 @@ You can also easily add custom rules to support other platforms not natively sup
Requirements
------------

Requires PHP 5.3 or newer (tested with PHP 5.3.29 - 7.4.0).
Requires PHP 5.3 or newer (tested with PHP 8.1.0, 7.4.26 and 5.6.40).

Demo and full documentation
---------------------------
Expand Down Expand Up @@ -102,7 +103,7 @@ if ($browser->getName() == Wolfcast\BrowserDetection::BROWSER_FIREFOX &&
History
-------

Correctly identifying what Web browser your users are using is an incredibly complex task. If you ever tried to implement something like this you quickly saw how this can become a code mess. Only a few libraries exists and they often get deprecated and becomes abandonware. This is why we created our own detection engine. We didn't started from scratch. The class is a heavily updated version of Chris Schuld's Browser class version 1.9 (which was unmaintained for a couple of years). Chris' class was based on the original work from Gary White.
Correctly identifying what Web browser your users are using is an incredibly complex task. If you ever tried to implement something like this you quickly saw how this can become a code mess. Only a few libraries exist and they often get deprecated and becomes abandonware. This is why we created our own detection engine. We didn't start from scratch. The class is a heavily updated version of Chris Schuld's Browser class version 1.9 (which was unmaintained for a couple of years). Chris' class was based on the original work from Gary White.

License
-------
Expand Down
346 changes: 186 additions & 160 deletions docs/Browser_Detection/BrowserDetection.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/Browser_Detection/_BrowserDetection.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,24 +56,24 @@ <h2>Classes:</h2>
</div><br /><br />

<h2>Page Details:</h2>
Browser detection class file.<br /><br /><p>This file contains everything required to use the BrowserDetection class. Tested with PHP 5.3.29 - 7.2.4.</p><p>This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version (if any).</p><p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details at: https://www.gnu.org/licenses/lgpl-3.0.html</p><br /><br /><br />
Browser detection class file.<br /><br /><p>This file contains everything required to use the BrowserDetection class. Tested with PHP 5.3.29 - 7.4.0.</p><p>This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version (if any).</p><p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details at: https://www.gnu.org/licenses/lgpl-3.0.html</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>author:</b>&nbsp;&nbsp;</td><td>Alexandre Valiquette</td>
</tr>
<tr>
<td><b>version:</b>&nbsp;&nbsp;</td><td>2.9.5</td>
<td><b>version:</b>&nbsp;&nbsp;</td><td>2.9.6</td>
</tr>
<tr>
<td><b>copyright:</b>&nbsp;&nbsp;</td><td>Copyright (c) 2020, Wolfcast</td>
<td><b>copyright:</b>&nbsp;&nbsp;</td><td>Copyright (c) 2022, Wolfcast</td>
</tr>
<tr>
<td><b>link:</b>&nbsp;&nbsp;</td><td><a href="https://wolfcast.com/">https://wolfcast.com/</a></td>
</tr>
<tr>
<td><b>last-modified:</b>&nbsp;&nbsp;</td><td>February 2, 2020</td>
<td><b>last-modified:</b>&nbsp;&nbsp;</td><td>May 1, 2022</td>
</tr>
<tr>
<td><b>filesource:</b>&nbsp;&nbsp;</td><td><a href="../__filesource/fsource_Browser_Detection__BrowserDetection.php.html">Source Code for this file</a></td>
Expand All @@ -87,7 +87,7 @@ <h4>Tags:</h4>

<div class="credit">
<hr />
Documentation generated on Sun, 02 Feb 2020 00:29:48 -0500 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
Documentation generated on Sun, 01 May 2022 21:20:30 -0400 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>
Expand Down
Loading

0 comments on commit e8b0865

Please sign in to comment.