Wykrywanie mobilne w Laravel

@if ($agent->isMobile())
    Show mobile stuff...
@endif
  
//Follow this link for full metod
//  https://github.com/jenssegers/agent
Lazy Lobster