# hisorange/browser-detect

Browser Detection for Laravel by hisorange!

Repository: https://github.com/hisorange/browser-detect
Canonical: https://ross.abutalabs.com/products/browser-detect
Homepage: https://browser-detect.com
Language: PHP
License: MIT
License Family: permissive
Topics: laravel, mobile-detection, user-agent, user-agent-parser, bot-detection, crawler-detection
Last push: 2024-12-10T00:26:47+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4653, "days_push": 632, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1141, forks 144 (observed 2026-08-28T04:03:44.536938+00:00)

## What it is
A Laravel package that identifies the visitor's browser, platform, and device type from the user agent string, including bot and crawler detection. It wraps multiple well-tested user agent parsing libraries behind a simple facade and Blade directives.

## Use cases
- detect if a visitor is on mobile, tablet, or desktop
- identify bots and crawlers loading my pages
- serve different content based on the user's operating system
- check if the browser is Firefox or Opera in Laravel
- use device detection directives in blade templates
- redirect mobile users to a mobile version of the site

## When to avoid
- you need accurate client-side feature detection rather than user agent sniffing
- you are not using Laravel or PHP
- you need heavy-duty analytics-grade device intelligence with hardware details

## Facets
- artifact type: library
- maturity: stable
- function: parser, middleware
- domain: web-development, backend
- platform: php
- tags: user-agent-parser, browser-detection, mobile-detection, bot-detection, crawler-detection, laravel-package, laravel

## Member repositories
- hisorange/browser-detect (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:44.536938+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:35:23.806484+00:00, confidence not recorded.
  - readme: https://github.com/hisorange/browser-detect (fetched 2026-08-28T04:03:44.536938+00:00, sha 813d826b016c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
