PHPackages                             pxgamer/log-browser-check - 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. pxgamer/log-browser-check

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

pxgamer/log-browser-check
=========================

A simple web server log checker to monitor the browser diversity on websites.

v3.0.4(8y ago)115MITPHPPHP ^7.0

Since Aug 16Pushed 8y ago1 watchersCompare

[ Source](https://github.com/owenvoke/log-browser-check)[ Packagist](https://packagist.org/packages/pxgamer/log-browser-check)[ RSS](/packages/pxgamer-log-browser-check/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (3)Versions (10)Used By (0)

log-browser-check
=================

[](#log-browser-check)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c37e49d921a43bddb639f268669655b4c87abf0b5655b2fd5b3ff5b1fd527936/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707867616d65722f6c6f672d62726f777365722d636865636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pxgamer/log-browser-check)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/3fb9334cb5360d2c848e30d9e3b62b4ca1c2a25f5b83daf5ac8648b519a8a70e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f707867616d65722f6c6f672d62726f777365722d636865636b2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/pxgamer/log-browser-check)[![Style CI](https://camo.githubusercontent.com/23ba22619e45354426cbf4b03243bb7b8dbc8bc0eb4c5b552c7b740067cfafb6/68747470733a2f2f7374796c6563692e696f2f7265706f732f36393836343934352f736869656c64)](https://styleci.io/repos/69864945)[![Code Coverage](https://camo.githubusercontent.com/db9754c5466eff48faef76a08fa2d45ac6bd5dd4c317ff0f59ee84618e766116/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f707867616d65722f6c6f672d62726f777365722d636865636b2e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/pxgamer/log-browser-check)[![Total Downloads](https://camo.githubusercontent.com/2fffbd7e241404301a2e0baf03e81b62235bf6f1d89ebb421ed5d255317db5aa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f707867616d65722f6c6f672d62726f777365722d636865636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pxgamer/log-browser-check)

A simple web server log checker to monitor the browser diversity on websites.

Structure
---------

[](#structure)

```
src/
tests/
vendor/

```

Install
-------

[](#install)

Via Composer

```
$ composer require pxgamer/log-browser-check
```

Usage
-----

[](#usage)

### Supported logs

[](#supported-logs)

ServerSupported?IISYesApacheNoNginxNo```
use pxgamer\LogBrowserChecker\Config;
use pxgamer\LogBrowserChecker\IIS;

$config = new Config([
    'session_column' => 7,
    'ip_column' => 6,
    'root_dir' => __DIR__ . '/logs',
    'site_name' => 'test.com',
    'ignored_ips' => ['127.0.0.1']
]);

$browserCheck = new IIS($config);
$browserCheck->findFiles();
$browserCheck->execute();

// Retrieve an array of browsers and their usage counts
$browserCheck->getBrowserStats();

// Retrieve an array of unique session ids
$browserCheck->getSessionsIds();

// Retrieve an array of unique user agents
$browserCheck->getUserAgents();
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [pxgamer](https://github.com/pxgamer)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

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 ~16 days

Recently: every ~27 days

Total

8

Last Release

3128d ago

Major Versions

v2.0.2 → v3.0.02017-08-17

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1899334?v=4)[Owen Voke](/maintainers/owenvoke)[@owenvoke](https://github.com/owenvoke)

---

Top Contributors

[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (64 commits)")

---

Tags

analysebrowserlogphpweb

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/pxgamer-log-browser-check/health.svg)

```
[![Health](https://phpackages.com/badges/pxgamer-log-browser-check/health.svg)](https://phpackages.com/packages/pxgamer-log-browser-check)
```

###  Alternatives

[propa/laravel-browscap

Browscap-PHP integration for Laravel 5-12

1061.2k](/packages/propa-laravel-browscap)

PHPackages © 2026

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