mobiledetect/mobiledetectlib
Lightweight PHP class to detect mobile phones and tablets using User-Agent plus HTTP headers. Identify device type and specific platforms/brands for responsive content, analytics, or redirects. Widely used and actively maintained via tagged major branches.
Full Changelog: https://github.com/serbanghita/Mobile-Detect/compare/4.10.0...4.11.0
Full Changelog: https://github.com/serbanghita/Mobile-Detect/compare/4.9.0...4.10.0
Minor release.
Lenovo TB prefix match for modern tablets (#1013).MobileDetect::VERSION_TYPE_STRING and VERSION_TYPE_FLOAT constants promoted to public (#991).Cache::getTimestamp() method name typo (was getTimeStamp) (#1007).Full changelog: https://github.com/serbanghita/Mobile-Detect/compare/4.8.10...4.9.0
$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?