PHPackages                             fynduck/client-info - 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. fynduck/client-info

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

fynduck/client-info
===================

Get client info from request header

1.1.3(7y ago)080MITPHP

Since Oct 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/fynduck/client-info)[ Packagist](https://packagist.org/packages/fynduck/client-info)[ RSS](/packages/fynduck-client-info/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

ClientInfo
==========

[](#clientinfo)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/d7926198b1018f5583b9d80d758ad8511147c7cfd55d6fa375942d4ffa0a79fe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f66796e6475636b2f636c69656e742d696e666f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fynduck/client-info)

Install
-------

[](#install)

`composer require fynduck/client-info`

Usage
-----

[](#usage)

Add to your class

```
class NameClass
{
    use ClientInfo;

    .........

```

Get client platform: `$this->getPlatform(request()->header('User-Agent'))`

Get client platform version: `$this->getPlatformVersion(request()->header('User-Agent'))`

Get client browser name: `$this->getBrowserName(request()->header('User-Agent'))`

Get client browser version: `$this->getBrowserVersion(request()->header('User-Agent'), 'ub')` (ub browser get from method `getBrowserName`)

Get client refer domain: `$this->getDomainReferer(request()->header('referer'))`

> **Note:** all method have default value from request()

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

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

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

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

Total

5

Last Release

2718d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c1e2c914b6acaa6610e8b07da82484a27c57e7787a15c978104a05bc295f33a7?d=identicon)[fynduck](/maintainers/fynduck)

---

Top Contributors

[![fynduck](https://avatars.githubusercontent.com/u/12099534?v=4)](https://github.com/fynduck "fynduck (10 commits)")

---

Tags

laravelphplaravel

### Embed Badge

![Health badge](/badges/fynduck-client-info/health.svg)

```
[![Health](https://phpackages.com/badges/fynduck-client-info/health.svg)](https://phpackages.com/packages/fynduck-client-info)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)[nedwors/navigator

A Laravel package to ease defining navigation menus

433.1k](/packages/nedwors-navigator)[xefi/faker-php-laravel

Faker php integration with laravel

1915.1k](/packages/xefi-faker-php-laravel)[dcblogdev/laravel-junie

Install pre-configured guides for Jetbrains Junie

392.5k](/packages/dcblogdev-laravel-junie)

PHPackages © 2026

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