UserAgentParser is a php library to parse user agents, and extracts browser name & version and operating system.
UserAgentParser is designed for simplicity, to accurately detect the most used web browsers, and be regularly updated to detect new OS and browsers.
- it does NOT detect sub sub versions, ie. the "5" in 1.4.5; this is a design decision to simplify the version number
- it does NOT detect nested UA strings caused by some browser add-ons
- it could have the notion of operating system "types", ie "Windows". It currently only has "Windows XP", "Windows Vista", etc.
Feedback, patches: email@example.com