atannex / detector
Device, OS, browser and bot detection for Laravel: User-Agent and Client Hints merged into one answer, a client probe for what headers cannot tell (iPadOS, screen, installed PWAs), categorised bots with AI crawlers and reverse-DNS verification, in-app browsers and WebViews, Blade directives, route m
Requires
- php: ^8.2
- laravel/framework: ^11.0|^12.0|^13.0
Requires (Dev)
- matomo/device-detector: ^6.4
- orchestra/testbench: ^9.0|^10.0|^11.0
- phpunit/phpunit: ^11.5|^12.0
Suggests
- matomo/device-detector: Marketing names for tens of thousands of device models, through the 'matomo' driver (^6.4).
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-30 11:14:33 UTC
README
Tells a Laravel app who is visiting: which device, operating system and browser, whether the visitor is a phone, tablet or computer, and whether it is a real person or a bot. It recognises AI crawlers and can check that a bot claiming to be Google really is Google. It can also remember the devices each user signs in from and raise an event when a new one appears.
Install
composer require atannex/detector