Crossjoin\Browscap allows to check for browser settings based on the user agent string, using the data from Browscap (Browser Capabilities Project). It's faster than the build-in PHP function and than other Browscap parsing classes, with very low memory usage.