How to make a platform determinant in the laravel 5 project? Those. There are two apple, android buttons, so that pressing an apple from a mobile browser from this site would display something like "Click on the link corresponding to your operating system" if I have an android platform on my phone and vice versa.

  • one
    The question is why? There are styles sss, scss & less. If there is something you need to run, you first need to make a view, then an empty controller and write into it, if get android, do toto, otherwise toto. The rest of laracasts.com - Basil Jimmy
  • one
    I did the hardest thing that could be in life for you, google.com, jenssegers / agent - Orange_shadow

1 answer 1

Orange_shadow threw off the link to github, where the given platform identifier https://github.com/jenssegers/agent is used in the project