piwik/device-detector
Parse User-Agent strings and Browser Client Hints to identify device type (desktop/tablet/mobile/TV/console, etc.), browser/client, operating system, and device brand/model. Universal PHP library from Matomo for accurate device detection.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| vipx/bot-detect | 0.85 | Detect and identify web crawlers (Google, Bing, Yahoo, etc.) from user agent and IP. Loads bot metadata from YAML, returns matched bot details, and includes optional caching and configurable cache naming/dumping for better performance. | 45 | 49 | 15 | 4K | 3 | 2.4 | 27.6 | MIT | 3 years ago | |
| crossknowledge/devicedetect-bundle | 0.85 | — | 8 | 8 | 4 | 0 | 1 | 1.3 | — | — | 5 years ago | |
| dungeonworx/laravel-devicedetector | 0.85 | — | 9 | 9 | 2 | 0 | 0 | 0.4 | — | MIT | 7 years ago | |
| sajidwarner/laravel-device-detector | 0.84 | — | 5 | 6 | 0 | 57 | 0 | 17.4 | 16.1 | MIT | 3 months ago | |
| jaybizzle/crawler-detect | 0.84 | PHP library to detect bots, crawlers, and spiders by inspecting User-Agent and HTTP_FROM headers. Recognizes thousands of user agents, updated regularly. Simple API: isCrawler() for current or given UA, and getMatches() to see the detected bot name. | 2,373 | 2,383 | 279 | 2M | 0 | 50.5 | 48.6 | MIT | 3 weeks ago | |
| diego182/mobile-detect | 0.84 | Symfony bundle wrapper for Mobile Detect. Provides auto-configuration and autowiring so you can inject a MobileDetect service into your app to detect mobile/tablet devices from the user agent with minimal setup. | 1 | 1 | 0 | 64 | 0 | 9.5 | 21.9 | MIT | 7 months ago | |
| ergebnis/agent-detector | 0.84 | Detect the presence of coding agents in your PHP app by checking environment variables. Supports Amp, Antigravity, Augment, Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, and more via a simple Detector::isAgentPresent() API. | 16 | 16 | 1 | 4M | 1 | 16.9 | 63.1 | MIT | 2 months ago | |
| browscap/browscap-php | 0.83 | browscap-php is a PHP library for detecting browser, platform, and device details from User-Agent strings using the Browscap database. It provides easy updates, caching, and a simple API for accurate capability detection in web apps. | 442 | 447 | 84 | 87K | 5 | 30.2 | 40.6 | MIT | 3 months ago | |
| acsiomatic/device-detector-bundle | 0.83 | Symfony bundle integrating Matomo DeviceDetector. Provides a configured DeviceDetector service for the main request plus Twig global and routing condition support. Detect devices, browsers/clients, OS, brands/models, and bots with optional caching and auto-parse. | 12 | 12 | 1 | 6K | 2 | 2.3 | 37.0 | MIT | 1 year ago | |
| matomo/device-detector | 0.83 | Parses User-Agent strings and browser Client Hints to identify device type (desktop/tablet/mobile/TV/console), client apps (browsers, media players, feed readers), operating systems, and device brand/model. Composer-ready PHP library. | 3,509 | 3,519 | 512 | 1M | 63 | 76.3 | 69.0 | LGPL-3.0 | 2 months ago | |
| whichbrowser/parser | 0.83 | PHP user-agent parser for browser sniffing (use sparingly). WhichBrowser/Parser identifies browser, engine, OS and device with names and versions. Works on PHP 7.0+ including PHP 8; useful for analytics or UX edge cases. | 1,841 | 1,848 | 238 | 400K | 21 | 25.9 | 41.2 | MIT | 2 years ago | |
| suncat/mobile-detect-bundle | 0.83 | Symfony bundle integrating Mobile_Detect to identify phones/tablets by user agent, manage device-specific views (mobile/tablet/full), and optionally redirect users to mobile or tablet versions of your site. Supports Symfony 2.4–4.0. | 393 | 403 | 155 | 12K | 20 | 13.5 | 30.5 | — | — | |
| vipx/bot-detect-bundle | 0.82 | — | 14 | 15 | 11 | 567 | 2 | 1.4 | 22.2 | — | 7 years ago | |
| mobiledetect/mobiledetectlib | 0.82 | Lightweight PHP library to detect mobile devices and tablets using User-Agent and HTTP headers. Provides simple checks like isMobile() and isTablet(), regularly updated with device rules, and easy to install via Composer for any PHP app. | 10,681 | 10,782 | 2,612 | 4M | 18 | 63.5 | 46.3 | MIT | 2 months ago | |
| elao/browser-detector-bundle | 0.82 | — | 16 | 16 | 5 | 0 | 0 | 0.7 | — | — | 11 years ago | |
| openai-php/client | 0.80 | Community-maintained PHP client for the OpenAI API. Install via Composer and interact with models, responses, chat, images, audio, files, and more with a clean, typed interface—ideal for Laravel and modern PHP apps. | 5,824 | 5,841 | 680 | 2M | 17 | 75.1 | 49.9 | MIT | 2 weeks ago | |
| artplus_f/browscap-bundle | 0.80 | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | NOASSERTION | — | |
| elao/browser-detector | 0.80 | Deprecated browser/user-agent detector for PHP. Provides a BrowserDetector class to load configuration and parse/set a User-Agent string. The README recommends using piwik/device-detector instead for ongoing support. | 1 | 1 | 0 | 0 | 0 | 0.5 | — | — | 11 years ago | |
| donatj/phpuseragentparser | 0.76 | Lightweight PHP user-agent parser for detecting modern browsers and platforms from UA strings. Tiny codebase (<200 lines, 3 regexes), fast and accurate (including tricky IE versions). Composer-ready, 100% unit-tested, with optional object wrapper. | 595 | 604 | 127 | 187K | 9 | 37.5 | 43.4 | MIT | 1 month ago |
How can I help you explore Laravel packages today?