exs/php-user-agent-bundle
Symfony bundle that wraps donatj/PhpUserAgent. Register EXSPhpUserAgentBundle, then call PhpUserAgentService::parseUserAgent() on a user-agent string to detect platform, browser, and browser version. Simple service-based access with no extra configuration.
EXS-PhpUserAgentBundle is a Symfony2 wrapper around donatj/PhpUserAgent. It exposes user-agent parsing as a service, allowing you to detect the platform, browser, and version from a raw user-agent string. Install it via Composer and register EXS\PhpUserAgentBundle\EXSPhpUserAgentBundle in AppKernel.
PhpUserAgentServiceparseUserAgent()getFlatform()getBrowser()getVersion()How can I help you explore Laravel packages today?