Tag: Device Detector

Laravel 5 - Device Detector Cache Proxy

Łukasz Piotrowski Comments 0

DeviceDetector is a tool which based on UserAgent detects and returns us very useful information like browser, device, system etc.

It has very interesting option to detect if user which browse our page is bot or not.

Using this tool you can use Cache. By default it supports doctrine/cache. We can by own implement cache. To do this we need to implement interface DeviceDetector\Cache\Cache.

I decided to write my own very simple Proxy which You can use with current using Cache system implemented in Laravel 5

Categories: Laravel