whichbrowser/parser
PHP user-agent parser for browser sniffing (use sparingly). WhichBrowser/Parser identifies browser, engine, OS and device with names and versions. Works on PHP 7.0+ including PHP 8; useful for analytics or UX edge cases.
Mobile Detect.For Executives: "This library lets us turn browser/device data into competitive advantages—like blocking outdated browsers to reduce support costs, or personalizing features to boost engagement. It’s a low-risk, high-reward tool: minimal dev effort (MIT-licensed, PHP-native), but unlocks targeted optimizations across UX, security, and marketing. With 1.8K+ stars and recent updates, it’s a proven choice for scaling detection logic without custom build work."
For Engineering: *"We’re replacing ad-hoc UA parsing with a maintained, accurate solution that handles edge cases (e.g., Chrome vs. Edge) and updates automatically. Integration is straightforward—drop it into Laravel’s service container or middleware. Key benefits:
isMobile, browserVersion) for easy use in feature flags or analytics.
Tradeoff: Slightly heavier than minimalist parsers, but worth it for accuracy and maintenance."*How can I help you explore Laravel packages today?