Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Mobiledetectlib Laravel Package

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.

View on GitHub
Deep Wiki
Context7
4.11.0

What's Changed

Full Changelog: https://github.com/serbanghita/Mobile-Detect/compare/4.10.0...4.11.0

4.10.0

What's Changed

Full Changelog: https://github.com/serbanghita/Mobile-Detect/compare/4.9.0...4.10.0

4.9.0

Minor release.

Added

  • Lenovo: broad Lenovo TB prefix match for modern tablets (#1013).
  • Samsung: 2025 tablet models (Tab S11, S10 Lite, A11).
  • MobileDetect::VERSION_TYPE_STRING and VERSION_TYPE_FLOAT constants promoted to public (#991).

Changed

  • Consistent late static binding for subclass extensibility (#1012).
  • Dropped PHP 8.0 and 8.1 from the CI matrix.

Fixed

  • PHP 8.4 compatibility: explicit type hints where the engine now requires them.
  • Cache::getTimestamp() method name typo (was getTimeStamp) (#1007).
  • Version regex now accepts multi-char pre-release suffixes.
  • Pinned composer dependencies to exact versions.
  • GitHub Actions workflow actions updated to their latest versions.

Full changelog: https://github.com/serbanghita/Mobile-Detect/compare/4.8.10...4.9.0

4.8.04
4.8.03
  • added optional $config to MobileDetect constructor.
  • added 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.
  • refactored internal CloudFront related methods and the way setHttpHeaders work. It no longer falls back on $_SERVER. The method still calls setUserAgent in case HTTP_USER_AGENT and friends are present.
  • added maximumUserAgentLength to the $config, by default the limit is 500.
4.8.01

Other

  • removed unused dependencies
  • removed old examples
  • rearranged /scripts/ folder
3.74.0
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai