PhpUserAgent

Lightning Fast, Minimalist PHP User Agent String Parser.

MIT License

Downloads
14.6M
Stars
553
Committers
18

Bot releases are visible (Hide)

PhpUserAgent - Blink Based MS Edge Support, Improved PS4 Support

Published by donatj about 5 years ago

Adds basic support for Microsoft's new Blink based Edge browser. Slight improvements to PS4 support.

PhpUserAgent - Performance and Reorg

Published by donatj over 5 years ago

Performance Improvements!

I made a number of seemingly minor changes to the regular expressions that when benchmarked resulted in a nearly 3% performance improvement.

Reorganized directory structure to be more standard

Old Path New Path
Source/ src/
Tools/ bin/
Tests/ test/

Warning: if you are directly requiring the PHP file rather than using composer this will be a breaking change.

PhpUserAgent - OculusBrowser

Published by donatj over 5 years ago

Adds basic support and tests for OculusBrowser

PhpUserAgent - Hotfix: Fixes Missing Constant

Published by donatj almost 6 years ago

Adds support for Yandex.


v0.11.0 was deleted.

A cherry pick from an upstream branch went awry as it made use of a constant not currently defined.

This hotfix removes said constant.

PhpUserAgent - Headless Chrome

Published by donatj over 6 years ago

Now differentiates between HeadlessChrome and Chrome.

PhpUserAgent - Nintendo Switch Support

Published by donatj almost 7 years ago

Adds Nintendo Switch browser support.

PhpUserAgent - Net/Open/Free BSD support

Published by donatj almost 7 years ago

It was pointed out that a number of BSD based OS's showed up as "Linux" which isn't accurate/correct.

This has been corrected with the help of @goshoo

PhpUserAgent - Puffin Browser Support

Published by donatj over 7 years ago

Adds support for the Puffin browser which is growing in popularity.

PhpUserAgent - SamsungBrowser Support

Published by donatj over 7 years ago

Adds support for "SamsungBrowser" for Android and Tizen

PhpUserAgent - IceCat Support

Published by donatj almost 8 years ago

Adds support for IceCat detected as Firefox as with IceWeasel.

PhpUserAgent - UC Browser Support and Refactoring

Published by donatj about 8 years ago

UC Browser has hit 7% globally and I decided I needed to support it officially.

This release also includes a fairly large refactor that netted me -18 loc overall.

PhpUserAgent - Valve Steam Tenfoot Support

Published by donatj over 8 years ago

Adds rudamentary support for Valve Steam Tenfoot

PhpUserAgent - iPod Touch Support

Published by donatj about 9 years ago

Somehow it had been overlooked all this time that iPod Touch has a distinct user agent from iPhone. Many thanks to @henrybaxter for pointing this out!

PhpUserAgent - Microsoft Edge

Published by donatj about 9 years ago

IE12 now renamed "Edge"

PhpUserAgent - Small Windows Phone Improvments

Published by donatj over 9 years ago

Some Windows Phone versions spoof an Android User Agent. This helps better fight against the spoofing.

PhpUserAgent - Chrome iOS "CriOS" Support Added

Published by donatj over 9 years ago

This release adds the long requested support for Chrome for iOS.

PhpUserAgent - Tizen Support Added

Published by donatj over 9 years ago

Adds basic support for the Tizen Browser

PhpUserAgent - Vivaldi Browser Support Added

Published by donatj over 9 years ago

Adds support for the new Vivaldi Browser.

PhpUserAgent - IE12 Support + Better Windows Phone Support

Published by donatj almost 10 years ago

Adds detection and tests for IE12's new User Agent String: Mozilla/5.0 (Windows NT 6.4; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36 Edge/12.0

Also corrects some problems with Lumina Windows Phones

PhpUserAgent - "New Nintendo 3DS" support added.

Published by donatj almost 10 years ago

Adds support for the "New Nintendo 3DS" due out in the US early 2015.