mobiledetect/mobiledetectlib
Lightweight PHP library to detect mobile devices and tablets using User-Agent and HTTP headers. Provides simple checks like isMobile() and isTablet(), regularly updated with device rules, and easy to install via Composer for any PHP app.
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?