mobiledetect/mobiledetectlib
Lightweight PHP library to detect mobile devices and tablets using the User-Agent and HTTP headers. Simple API to check for phones, tablets, OS and browsers. Actively maintained (4.8.x) with older LTS/deprecated branches available.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| jenssegers/agent | 0.81 | 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. | 4,760 | 4,845 | 521 | 1M | 80 | 86.1 | 75.0 | MIT | 5 years ago | |
| 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,459 | 3,470 | 507 | 742K | 63 | 78.8 | 68.5 | LGPL-3.0 | 2 months ago | |
| jaybizzle/crawler-detect | 0.78 | Detect bots/crawlers/spiders in PHP by matching User-Agent and HTTP_FROM headers. CrawlerDetect recognizes thousands of known crawlers, lets you check the current request or a provided UA string, and returns the matched bot name. | 2,336 | 2,356 | 277 | 2M | 7 | 51.4 | 51.1 | MIT | 1 week ago | |
| shipfastlabs/agent-detector | 0.76 | Lightweight PHP 8.2+ utility to detect if your app is running inside an AI agent or automated dev environment. Supports Claude, Cursor, Gemini, Codex, Replit, Devin, and more via env vars or file checks, with a simple API and helper function. | 40 | 16 | 3 | 23K | 0 | 21.5 | 44.6 | MIT | 4 weeks ago | |
| widmogrod/php-functional | 0.73 | Functional programming toolkit for PHP with immutable data structures, monads and typed abstractions. Includes Option/Either/Try, collections, pattern matching, and helpers for safer, composable code. Useful for DDD, CQRS and FP-style application architecture. | 367 | 372 | 32 | 192K | 7 | 29.0 | 46.9 | MIT | 1 year ago |
How can I help you explore Laravel packages today?