PHPackages                             alive2212/laravel-user-traffic - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. alive2212/laravel-user-traffic

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

alive2212/laravel-user-traffic
==============================

:description

v1.0.1(7y ago)130MITPHP

Since Jul 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Alive2212/LaravelUserTraffic)[ Packagist](https://packagist.org/packages/alive2212/laravel-user-traffic)[ Docs](https://github.com/alive2212/laravelusertraffic)[ RSS](/packages/alive2212-laravel-user-traffic/feed)WikiDiscussions master Synced 2mo ago

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

LaravelUserTraffic
==================

[](#laravelusertraffic)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f7e9fa05efe80ee149fcee6414f4b1866076f32f989f3a869eb63215556f468a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c697665323231322f6c61726176656c75736572747261666669632e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alive2212/laravelusertraffic)[![Total Downloads](https://camo.githubusercontent.com/d022d805a26c74e760505cd50496932c914419e58ab5c2b18ca07a08dd754eb5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c697665323231322f6c61726176656c75736572747261666669632e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alive2212/laravelusertraffic)[![Build Status](https://camo.githubusercontent.com/d598e58c0908fc0b7b5f173afeebd62b73a82dd7edb7c58a7b47f627a4f2fdfc/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f616c697665323231322f6c61726176656c75736572747261666669632f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/alive2212/laravelusertraffic)[![StyleCI](https://camo.githubusercontent.com/cb13a877afd1dbe223c631789c3f922d3ace958fdb334a9cce9b26afefbc2ebd/68747470733a2f2f7374796c6563692e696f2f7265706f732f31323334353637382f736869656c64)](https://styleci.io/repos/12345678)

This is where your description should go. Take a look at [contributing.md](contributing.md) to see a to do list.

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

[](#installation)

Via Composer

```
$ composer require alive2212/laravelusertraffic
```

after install use 'MetaTrait' in user model

```
use Illuminate\Database\Eloquent\Model;
use Phoenix\EloquentMeta\MetaTrait;

class SomeModel extends Model
{
    use MetaTrait;

    // model methods
}
```

Usage
-----

[](#usage)

after use 'auth:api' use this middleware 'user\_traffic'

To get last and current and count of traffic

```
$request['user_traffic'];
```

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

[](#change-log)

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

Testing
-------

[](#testing)

```
$ composer test
```

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

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [author name](https://github.com/alive2212)
- [All Contributors](../../contributors%5D)

License
-------

[](#license)

license. Please see the [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

Maturity63

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

Total

2

Last Release

2856d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/096cb0a90e1515fd7369bc03f9c36ce1cd55b64c3ac777400ea3997c28de83cc?d=identicon)[Alive2212](/maintainers/Alive2212)

---

Top Contributors

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

---

Tags

laravelLaravelUserTraffic

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alive2212-laravel-user-traffic/health.svg)

```
[![Health](https://phpackages.com/badges/alive2212-laravel-user-traffic/health.svg)](https://phpackages.com/packages/alive2212-laravel-user-traffic)
```

###  Alternatives

[spatie/laravel-activitylog

A very simple activity logger to monitor the users of your website or application

5.8k45.4M309](/packages/spatie-laravel-activitylog)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[rollbar/rollbar-laravel

Rollbar error monitoring integration for Laravel projects

14110.4M7](/packages/rollbar-rollbar-laravel)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[inspector-apm/inspector-laravel

Code Execution Monitoring, built for developers.

2332.0M2](/packages/inspector-apm-inspector-laravel)[larabug/larabug

Laravel 6.x/7.x/8.x/9.x/10.x/11.x/12.x/13.x bug notifier

299549.3k1](/packages/larabug-larabug)

PHPackages © 2026

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