A user agent class for Laravel 4