PHPackages                             clagiordano/weblibs-browserinfo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. clagiordano/weblibs-browserinfo

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

clagiordano/weblibs-browserinfo
===============================

weblibs-browserinfo is a tool library for easily identify user agent by regular expresison or php browscap backend

v1.0.5(7y ago)011.8k↓20.3%LGPL-3.0PHPPHP &gt;=5.4

Since Aug 23Pushed 7y ago1 watchersCompare

[ Source](https://github.com/clagiordano/weblibs-browserinfo)[ Packagist](https://packagist.org/packages/clagiordano/weblibs-browserinfo)[ RSS](/packages/clagiordano-weblibs-browserinfo/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (7)Used By (0)

[![BuildStatus](https://camo.githubusercontent.com/da44cba271f9eb1e02d88b60563d88c0effed0aab1c88c534179dafc99b9c339/68747470733a2f2f7472617669732d63692e6f72672f636c6167696f7264616e6f2f7765626c6962732d62726f77736572696e666f2e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/da44cba271f9eb1e02d88b60563d88c0effed0aab1c88c534179dafc99b9c339/68747470733a2f2f7472617669732d63692e6f72672f636c6167696f7264616e6f2f7765626c6962732d62726f77736572696e666f2e7376673f6272616e63683d6d6173746572) [![License](https://camo.githubusercontent.com/7e92859c04e2a20af457bfe5e6f429e3e9247b63ebd1db22573b50a7d4fcf899/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636c6167696f7264616e6f2f7765626c6962732d62726f77736572696e666f2e737667)](https://camo.githubusercontent.com/7e92859c04e2a20af457bfe5e6f429e3e9247b63ebd1db22573b50a7d4fcf899/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636c6167696f7264616e6f2f7765626c6962732d62726f77736572696e666f2e737667)

weblibs-browserinfo
===================

[](#weblibs-browserinfo)

weblibs-browserinfo is a tool library for easily identify user agent by regular expresison or php browscap backend

[![SensioLabsInsight](https://camo.githubusercontent.com/a470cd1c38c99653c181f30ec8a6637539a6bed91ee1e87e236de0ee44a7d7dc/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f64393939643066352d386138382d343737652d623062392d3536396166303432333763622f6269672e706e67)](https://insight.sensiolabs.com/projects/d999d0f5-8a88-477e-b0b9-569af04237cb)

Why use weblibs-browserinfo ?
-----------------------------

[](#why-use-weblibs-browserinfo-)

The purpose of this project is to propose a simple and lightweight library to identify user agent by regular expresison or php browscap backend.

Installation
------------

[](#installation)

The recommended way to install weblibs-configmanager is through [Composer](https://getcomposer.org).

```
composer require clagiordano/weblibs-browserinfo
```

Usage examples
--------------

[](#usage-examples)

TODO
----

[](#todo)

### Other user agent to identify

[](#other-user-agent-to-identify)

- Googlebot/version
- Googlebot-Mobile/version
- msnbot/version
- Ezooms/version (bot gmail)

Legal
-----

[](#legal)

*Copyright (C) Claudio Giordano *

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~173 days

Recently: every ~216 days

Total

6

Last Release

2734d ago

PHP version history (2 changes)v1.0PHP &gt;=5.3

v1.0.3PHP &gt;=5.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8440925?v=4)[Claudio Giordano](/maintainers/clagiordano)[@clagiordano](https://github.com/clagiordano)

---

Top Contributors

[![clagiordano](https://avatars.githubusercontent.com/u/8440925?v=4)](https://github.com/clagiordano "clagiordano (15 commits)")

---

Tags

browscapbrowserclagiordanoinfoweblibsbrowseruser agentinforegexpclagiordanoweblibs

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/clagiordano-weblibs-browserinfo/health.svg)

```
[![Health](https://phpackages.com/badges/clagiordano-weblibs-browserinfo/health.svg)](https://phpackages.com/packages/clagiordano-weblibs-browserinfo)
```

###  Alternatives

[jenssegers/agent

Desktop/mobile user agent parser with support for Laravel, based on Mobiledetect

4.8k72.3M512](/packages/jenssegers-agent)[hisorange/browser-detect

Browser &amp; Mobile detection package for Laravel.

1.1k10.9M61](/packages/hisorange-browser-detect)[cbschuld/browser.php

A PHP Class to detect a user's Browser. This encapsulation provides a breakdown of the browser and the version of the browser using the browser's user-agent string. This is not a guaranteed solution but provides an overall accurate way to detect what browser a user is using.

5837.1M28](/packages/cbschuld-browserphp)[browscap/browscap-php

Standalone replacement for php's native get\_browser() function

4474.1M25](/packages/browscap-browscap-php)[garetjax/phpbrowscap

Standalone replacement for php's native get\_browser() function

433867.8k7](/packages/garetjax-phpbrowscap)[foroco/php-browser-detection

Ultra fast PHP library to detect browser, OS, platform and device type by User-Agent parsing

1545.5M7](/packages/foroco-php-browser-detection)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
