Getting device information from your visitors

Getting device information from your visitors

Mobiledetect is awesome, but it doesn’t extract information for desktop devices and browser. So I decided to create my own package that extends Mobiledetect; meet the Agent. Agent parses the User-Agent header that your browser sends along with all HTTP requests. It uses a list of patterns to detect what browser and devices you are using.