Weave 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

Laravel Mobile Detect Laravel Package

riverskies/laravel-mobile-detect

Laravel wrapper around the Mobile Detect library that identifies phones, tablets, and desktops from the user agent. Provides a clean facade, Blade directives, and configurable detection so you can serve device-specific views and content with minimal boilerplate.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Responsive vs. adaptive mobile experience: Enables a low-cost way to test whether Blade-level device detection is enough to justify mobile-specific templates, CTAs, navigation, or onboarding flows before investing in a broader adaptive design system.
  • Mobile conversion experiments: Supports quick experiments such as mobile-only banners, app-install prompts, simplified forms, or device-specific content in Blade views, provided they are instrumented and time-boxed.
  • Feature prioritization and roadmap input: Helps product teams segment early mobile behavior and validate demand for mobile-specific features without committing to a device-detection platform.
  • Build vs. buy/adopt: Makes sense as a tactical “adopt” decision for a legacy Laravel app that only needs simple Blade conditionals; it is not a strategic build-vs-buy answer for personalization, analytics, or edge-based device routing.
  • Scope control: Clarifies that this package supports presentation-layer decisions, not authoritative device intelligence, fraud/bot detection, consent management, or SEO-critical redirects.

When to Consider This Package

  • You maintain a Laravel application with Blade templates and need simple, server-side mobile/tablet/desktop conditionals in views.
  • The use case is non-critical presentation logic: alternate partials, mobile-specific messaging, campaign CTAs, or minor layout variations.
  • You can accept a small, MIT-licensed package with a last release in 2017, limited community size, and stale user-agent detection assumptions.
  • You are running a short spike or experiment and can wrap the package behind an internal abstraction so it can be replaced later.
  • Your Laravel/PHP versions and dependency constraints are compatible, and you have tested behavior for bots, tablets, caching, and SEO-sensitive pages.

Look elsewhere if you need a maintained detection library, modern Laravel/PHP support, client hints, bot handling, privacy/consent-aware logic, cache-safe personalization, edge/CDN routing, or device signals that affect redirects, pricing, eligibility, or SEO. For those cases, prefer responsive/progressive enhancement, a maintained detection service, or an internal capability with clear ownership.

How to Pitch It (Stakeholders)

  • Executive summary: This is a small, low-cost tactical package that can help us run mobile-focused Blade experiments faster. It is not a strategic platform investment, and its age/limited maintenance means we should treat it as a time-boxed enabler rather than a long-term dependency.
  • Engineering summary: We can use it behind a thin internal adapter to avoid direct coupling, add tests around device classification and cache behavior, and keep an exit path to a maintained solution. Do not let Blade-level detection become the source of truth for redirects, SEO, or business-critical eligibility.
  • Product summary: It can support quick mobile conversion tests and help us learn whether device-aware content matters before funding a larger adaptive-experience roadmap. Success should be measured through experiments and analytics, with a clear decision point to keep, replace, or retire it.
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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console