mobiledetect/mobiledetectlib
Lightweight PHP library to detect mobile devices and tablets using the User-Agent and HTTP headers. Simple API to check for phones, tablets, OS and browsers. Actively maintained (4.8.x) with older LTS/deprecated branches available.
$config to MobileDetect constructor.autoInitOfHttpHeaders configuration which is by default true. This enabled the old behavior from 3.x and 2.x that allows automatic detection of HTTP headers and User Agent from $_SERVER.setHttpHeaders work. It no longer falls back on $_SERVER. The method still calls setUserAgent in case HTTP_USER_AGENT and friends are present.maximumUserAgentLength to the $config, by default the limit is 500.Other
[@deprecated](https://github.com/deprecated) methodsDetection\MobileDetectHow can I help you explore Laravel packages today?