A user agent class for Laravel