awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
jenssegers avatar

jenssegers/agent

0
View on GitHub↗
4,813 stars·528 forks·PHP·MIT·22 viewsjenssegers.com↗

Agent

This project is a PHP user agent parser and mobile device detector. It analyzes HTTP user agent strings to identify the visitor's web browser, operating system, and device type.

The library provides a dedicated integration for the Laravel web framework. It distinguishes between mobile phones, tablets, and desktop computers while identifying web robots and the specific names of search engine crawlers.

The tool's capabilities include extracting preferred languages from request headers and verifying specific user agent properties. It uses regular expression pattern matching and static data mapping to classify clients and localize content.

Features

  • User Agent Parsers - Analyzes user agent strings to identify the visitor's browser, operating system, and device type.
  • Browser and OS Identification - Extracts the specific name and version of the web browser and operating system from user agent strings.
  • Crawler Detection - Identifies if a request comes from a web robot and retrieves the specific name of the search engine crawler.
  • Regex Pattern Matchers - Uses a comprehensive library of regular expressions to match user agent strings against known device and browser patterns.
  • Client Device Detection - Identifies whether a visitor is using a mobile phone, tablet, or desktop computer to serve optimized content.
  • Device Detectors - Distinguishes between mobile phones, tablets, and desktop computers based on request headers.
  • Device Type Detection - Determines if a visitor is using a phone, tablet, or desktop to deliver an optimized mobile experience.
  • HTTP Header Parsers - Parses raw HTTP request headers to isolate user agent strings and language preferences for analysis.
  • Crawler Identification - Detects if incoming requests originate from search engine robots or other automated web scrapers.
  • Web - Extracts preferred languages and device data in PHP to serve localized versions of a website.
  • Accept-Language Locale Settings - Automatically detects the user's preferred locale by extracting the Accept-Language HTTP header.
  • User Agent Validators - Allows verification of user agent strings against target versions or custom regular expressions.
  • Laravel Integrations - Provides a dedicated integration for the Laravel framework to facilitate client-based UI tailoring.
  • PHP Framework Integrations - Provides a service provider integration that allows the library to be seamlessly injected into PHP frameworks.
  • Bot Detectors - Identifies if a request comes from a web robot and retrieves the specific name of the crawler.
  • String Manipulation - Parses user agent strings for device detection.

Star history

Star history chart for jenssegers/agentStar history chart for jenssegers/agent

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Agent

These projects share indexed features with Agent. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • hgoebl/mobile-detect.jshgoebl avatar

    hgoebl/mobile-detect.js

    4,137View on GitHub↗

    mobile-detect.js is a JavaScript library for user agent detection. It analyzes browser request headers to identify hardware types, operating systems, and browser versions. The library includes a client hardware profiler that assigns performance and capability grades to mobile devices based on their characteristics. It also provides tools to apply specific CSS classes to the document body based on detected hardware to enable responsive styling. The project covers broad analysis capabilities, including the detection of mobile phones, tablets, and desktop computers. It extracts operating system

    JavaScript
    View on GitHub↗4,137
  • matthewhudson/current-devicematthewhudson avatar

    matthewhudson/current-device

    3,934View on GitHub↗

    current-device is a JavaScript device detection library used to identify operating systems, device categories, and screen orientations within a web browser environment. It serves as a browser environment detector and client-side mapper that translates browser metadata and user-agent strings into predefined device labels and hardware categories. The library provides tools for executing specific JavaScript logic based on the detected mobile or desktop platform. It also functions as a conditional styling tool and document body class injector, applying descriptive HTML classes to enable device-sp

    TypeScriptdevice-detectionjavascriptmobile
    View on GitHub↗3,934
  • arasatasaygin/is.jsarasatasaygin avatar

    arasatasaygin/is.js

    9,078View on GitHub↗

    is.js is a JavaScript validation library and data type checker. It provides a suite of utilities to verify whether variables are primitives, arrays, functions, or specific object types. The project allows for the implementation of custom validation logic and the use of naming namespaces to override default rules and regular expressions. It covers a broad range of validation capabilities, including numeric arithmetic properties, date and time analysis for relative and absolute ranges, and string format verification for patterns such as emails, URLs, and IP addresses. The library also includes

    JavaScript
    View on GitHub↗9,078
  • faisalman/ua-parser-jsfaisalman avatar

    faisalman/ua-parser-js

    10,140View on GitHub↗

    ua-parser-js is a JavaScript library used to extract browser, operating system, and device information from raw user agent strings and client hints. It functions as a cross-platform tool that runs in both web browsers and Node.js server environments to identify web visitors. The library integrates modern HTTP client hint headers to retrieve hardware and browser details with higher accuracy than standard string parsing. It also includes a specialized detector to identify automated AI agents, web crawlers, and bots to distinguish human traffic from automated scripts. The project covers hardwar

    JavaScriptanalyticsbot-detectionbrowser-detection
    View on GitHub↗10,140
Compare all 30 related projects→

Frequently asked questions

What does jenssegers/agent do?

This project is a PHP user agent parser and mobile device detector. It analyzes HTTP user agent strings to identify the visitor's web browser, operating system, and device type.

What are the main features of jenssegers/agent?

The main features of jenssegers/agent are: User Agent Parsers, Browser and OS Identification, Crawler Detection, Regex Pattern Matchers, Client Device Detection, Device Detectors, Device Type Detection, HTTP Header Parsers.

Which projects share features with jenssegers/agent?

Projects with overlapping indexed features include: hgoebl/mobile-detect.js — mobile-detect.js is a JavaScript library for user agent detection. It analyzes browser request headers to identify… matthewhudson/current-device — current-device is a JavaScript device detection library used to identify operating systems, device categories, and… arasatasaygin/is.js — is.js is a JavaScript validation library and data type checker. It provides a suite of utilities to verify whether… faisalman/ua-parser-js — ua-parser-js is a JavaScript library used to extract browser, operating system, and device information from raw user… bowser-js/bowser — Bowser is a browser detection library that parses user-agent strings to identify a browser's name, version, rendering… fake-useragent/fake-useragent — fake-useragent is a tool for generating realistic browser identification strings and parsing existing agents into…