donatj/phpuseragentparser
A tiny, fast PHP user-agent parser that detects all modern browsers with just three regular expressions and under 200 lines of code. Installable via Composer, fully unit tested, and easy to use.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| garetjax/phpbrowscap | 0.86 | PHP Browscap provides fast, accurate browser and user-agent detection for PHP applications. It parses browscap data to identify browser, platform, device, and crawler details, with caching support for production performance. | 429 | 433 | 67 | 3K | 23 | 12.0 | 23.1 | MIT | — | |
| whichbrowser/parser | 0.85 | 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,837 | 1,849 | 236 | 422K | 21 | 25.8 | 41.5 | MIT | 2 years ago | |
| andres-montanez/useragentstring-bundle | 0.84 | — | 1 | 1 | 4 | 0 | 0 | 2.2 | — | — | 10 years ago | |
| shadesoft/user-agent-parser-bundle | 0.83 | A PHP bundle that parses user-agent strings to identify browser, operating system, device type, and bot traffic, exposing the results through a simple service you can inject wherever request analytics, logging, or content adaptation is needed. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| diego182/mobile-detect | 0.83 | 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 | 22 | 0 | 4.8 | 15.5 | MIT | 10 months ago | |
| ua-parser/uap-php | 0.83 | UA Parser for PHP: parse browser user agents into structured data (browser, engine, OS, device) using the uap-core regex database. Helpful for analytics, logging, and device detection; easy integration via Composer and built-in caching support. | 562 | 575 | 85 | 888K | 3 | 6.4 | 45.5 | NOASSERTION | — | |
| vipnytt/useragentparser | 0.83 | A lightweight PHP library for parsing user agent strings, extracting browser, operating system, and device details. Integrates easily into Laravel projects for detecting client platforms, bots, and crawlers from incoming requests. | 1 | 2 | 1 | 14K | 0 | 0.0 | 53.2 | MIT | 1 year ago | |
| whichbrowser/whichbrowser | 0.82 | WhichBrowser is a PHP library that detects browsers, operating systems and devices from user agent strings. It identifies browser name and version, platform, device type and model across hundreds of browsers, with detailed, regularly updated detection data. | 1,837 | — | 236 | — | 21 | 23.1 | 9.7 | MIT | 2 years ago |
|
| gdbots/query-parser | 0.82 | A PHP library for parsing query strings into a structured AST, with support for boolean operators, fielded terms, grouping, ranges, and wildcards. Useful for validating and translating user search input into database queries. | 30 | 30 | 17 | 3K | 1 | 0.8 | 28.2 | Apache-2.0 | 4 years ago | |
| paquettg/php-html-parser | 0.82 | Fast, lightweight HTML parser for PHP that turns messy markup into a DOM-like tree. Crawl and scrape pages, query elements with CSS selectors, and extract text/attributes easily. Works with imperfect HTML and focuses on simple, fluent usage. | 2,395 | 2,446 | 467 | 126K | 54 | 43.7 | 49.2 | MIT | — | |
| jms/parser-lib | 0.82 | jms/parser-lib is a lightweight PHP parser library by JMS, providing reusable parsing components to build custom parsers quickly. Ideal for interpreting structured text and creating DSLs. Full docs available at jmsyst.com/libs/parser-lib. | 823 | 834 | 15 | 198K | 1 | 5.0 | 32.9 | Apache-2.0 | 4 years ago | |
| kassner/log-parser | 0.82 | kassner/log-parser turns Laravel, Apache, Nginx, and other log files into structured data. Define patterns, stream large files line by line, and extract dates, levels, messages, and context for analysis, reporting, or dashboards. Fast and memory-efficient in any PHP or Laravel app. | 338 | — | 65 | — | 1 | 3.8 | — | Apache-2.0 | 3 years ago |
|
| jenssegers/agent | 0.82 | 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,890 | 4,975 | 555 | 2M | 82 | 67.0 | 59.9 | MIT | 6 years ago | |
| parsica-php/parsica | 0.81 | Parsica is a PHP parser combinator library for building custom parsers from small reusable pieces. Compose complex grammars with a fluent API, parse strings into structured results, and handle errors cleanly—ideal for DSLs, config formats, and language tooling. | 413 | 413 | 19 | 20K | 11 | 10.8 | 29.6 | MIT | 1 year ago | |
| rodenastyle/stream-parser | 0.81 | Parse large CSV and other data files in PHP without exhausting memory. rodenastyle/stream-parser offers a simple, memory-efficient streaming API to read and process files chunk by chunk—ideal for Laravel imports, exports, and ETL jobs on big datasets. | 440 | — | 47 | — | 6 | 5.7 | 2.3 | MIT | 1 year ago | |
| llm-agents/agents | 0.81 | A Laravel package for building LLM-powered agents with tool calling, prompt management, and structured multi-step workflows. Integrates AI agents into PHP apps through a clean, framework-native API for automating tasks and composing agent pipelines. | 168 | 169 | 12 | 1K | 4 | 2.3 | 13.5 | MIT | 2 years ago | |
| campo/random-user-agent | 0.81 | Campo Random User Agent is a Laravel/PHP package that generates realistic random user-agent strings on demand. Rotate browser identities in scrapers, tests, or request simulations using simple helpers and configurable lists of desktop and mobile agents. | 146 | 157 | 24 | 15K | 0 | 1.5 | 27.7 | MIT | 8 years ago | |
| vipnytt/robotstxtparser | 0.81 | A PHP library for parsing robots.txt files, with support for user-agent groups, Allow/Disallow rules, wildcards, crawl-delay, and sitemap directives. Lightweight and framework-agnostic, it helps determine whether a crawler may access a given URL. | 25 | 26 | 6 | 12K | 1 | 0.4 | 36.9 | MIT | 5 years ago | |
| ikimea/browser | 0.81 | Ikimea Browser provides reliable user-agent detection for PHP and Laravel apps, identifying browser name and version, operating system, platform, device type, and bots. Its simple API helps tailor content, handle mobile visitors, and enrich analytics. | 35 | — | 18 | — | 0 | 5.9 | — | MIT | 9 months ago |
|
How can I help you explore Laravel packages today?