jenssegers/agent
User agent detection for PHP and Laravel based on Mobile Detect, with added desktop support. Quickly identify device type (mobile/tablet/desktop), platform, browser, and specific features via is() checks, magic isX methods, regex matching, and custom UA/header parsing.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| diego182/mobile-detect | 0.85 | 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 | 0 | 0 | 12.1 | — | MIT | 5 months ago | |
| mobiledetect/mobiledetectlib | 0.82 | Lightweight PHP class to detect mobile phones and tablets using User-Agent plus HTTP headers. Identify device type and specific platforms/brands for responsive content, analytics, or redirects. Widely used and actively maintained via tagged major branches. | 10,682 | 10,780 | 2,626 | 4M | 18 | 67.2 | 46.5 | MIT | 1 week ago | |
| suncat/mobile-detect-bundle | 0.82 | 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 | 156 | 14K | 20 | 13.5 | 31.4 | — | — | |
| matomo/device-detector | 0.81 | PHP library to parse User-Agent strings and Browser Client Hints to detect device type (desktop/mobile/tablet/TV, etc.), client apps (browsers, media players, bots), operating systems, and hardware brand/model. Composer-installable and well tested. | 3,480 | 3,495 | 508 | 879K | 64 | 79.9 | 69.3 | LGPL-3.0 | 1 week ago | |
| acsiomatic/device-detector-bundle | 0.81 | 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 | 36.7 | MIT | 1 year ago | |
| crossknowledge/devicedetect-bundle | 0.81 | — | 8 | 8 | 4 | 0 | 1 | 1.3 | — | — | 5 years ago | |
| backend2-plus/is-mobile-bundle | 0.81 | — | 0 | 0 | 2 | 0 | 1 | 2.9 | — | MIT | 1 year ago | |
| shipfastlabs/agent-detector | 0.81 | Lightweight PHP/Laravel utility to detect when your code runs inside an AI agent or automated dev environment. Checks common agent-specific environment variables (e.g., Cursor, Gemini, Codex, or custom) and returns agent status and name. | 73 | 70 | 10 | 203K | 0 | 22.4 | 40.1 | MIT | 1 month ago | |
| hisorange/browser-detect | 0.81 | — | 1,140 | 1,159 | 145 | 237K | 12 | 23.7 | 39.9 | MIT | 2 years ago | |
| piwik/device-detector | 0.80 | 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. | 3,480 | 3,510 | 508 | 64K | 63 | 63.2 | 48.2 | LGPL-3.0 | 1 week ago | |
| laravel/agent-detector | 0.80 | Lightweight PHP utility for detecting whether your Laravel/PHP app is running inside an AI agent or automated dev environment. Identifies known agents (e.g., Cursor, Gemini, Codex, Claude) via env vars, with a simple API and helper function. | 72 | 69 | 10 | 1M | 0 | 22.4 | 64.3 | MIT | 1 month ago | |
| digifa/mobile-detect-bundle | 0.80 | — | 0 | 0 | 0 | 0 | 0 | 0.8 | — | — | 1 year ago | |
| elao/browser-detector | 0.78 | 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 | |
| sajidwarner/laravel-device-detector | 0.78 | — | 5 | 6 | 0 | 27 | 0 | 19.8 | 11.9 | MIT | 1 month ago | |
| jaybizzle/crawler-detect | 0.78 | Detect bots, crawlers, and spiders in PHP by matching User-Agent and HTTP_FROM headers. CrawlerDetect recognizes thousands of known user agents, is regularly updated, lets you check current or provided user agents, and can return the matched crawler name. | 2,353 | 2,374 | 279 | 2M | 0 | 49.4 | 48.2 | MIT | 3 weeks ago | |
| reliese/laravel | 0.77 | Generate Laravel Eloquent models from your database schema. Reliese inspects tables, columns, and foreign keys to scaffold typed model properties and relationships via an Artisan command, helping speed up development (best used in local/dev environments). | 0 | 1,721 | — | 92K | — | 45.6 | 49.2 | — | — | |
| mpratt/embera | 0.77 | Embera is a PHP library for turning URLs into rich embeds via oEmbed. It supports many providers, offers easy integration, caching, and flexible configuration, making it simple to render videos, tweets, and other media in your apps. | 353 | 364 | 60 | 116K | 4 | 4.8 | 36.1 | MIT | — | |
| league/pipeline | 0.77 | League\Pipeline provides a lightweight, immutable implementation of the Pipeline pattern for PHP. Compose sequential processing stages (any callable or invokable class) and pass a payload through each stage in order, producing a final result. | 0 | 1,018 | — | 380K | — | 8.0 | 35.8 | — | — | |
| behat/gherkin | 0.76 | behat/gherkin is a PHP library for parsing the Gherkin language used in BDD. Read and tokenize feature files, build an AST, and integrate with Behat or other test runners to execute human-readable scenarios in your test suite. | 1,061 | 1,069 | 93 | 3M | 7 | 35.8 | 57.7 | MIT | 2 weeks ago | |
| avris/micrus | 0.69 | Micrus is a Laravel-friendly microservices toolkit for building lightweight services and messaging workflows. It helps you structure service boundaries, handle inter-service communication, and keep integrations consistent with a minimal, package-driven approach. | 0 | 0 | — | 0 | — | 0.0 | — | — | — |
How can I help you explore Laravel packages today?