PHPackages                             komicho/laravel-user-online - 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. komicho/laravel-user-online

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

komicho/laravel-user-online
===========================

Analyze packages within the project

1.2(4y ago)41921[1 PRs](https://github.com/laraveleg/user-online/pulls)PHP

Since Feb 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/laraveleg/user-online)[ Packagist](https://packagist.org/packages/komicho/laravel-user-online)[ Docs](https://github.com/laraveleg/laravel-user-wallet)[ RSS](/packages/komicho-laravel-user-online/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (1)Versions (6)Used By (0)

laraveleg\\user-online
======================

[](#laraveleguser-online)

Define the status of the user that was online or otherwise.

Install via composer
--------------------

[](#install-via-composer)

Add orm to composer.json configuration file.

```
$ composer require laraveleg/user-online
```

add new middleware in `app/Http/Kernel.php` file
------------------------------------------------

[](#add-new-middleware-in-apphttpkernelphp-file)

```
\LaravelEG\Laravel\Middleware\UserOnlineMiddleware::class
```

add the trait in your model User in `app/User.php` file
-------------------------------------------------------

[](#add-the-trait-in-your-model-user-in-appuserphp-file)

```
use LaravelEG\Laravel\Traits\UserOnline;

class User extends Authenticatable
{
    use UserOnline;
    ...
```

Functions
---------

[](#functions)

### isOnline

[](#isonline)

```
Auth::user()->isOnline();
```

THX.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% 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 ~455 days

Total

3

Last Release

1723d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/31162701?v=4)[komicho](/maintainers/komicho)[@komicho](https://github.com/komicho)

---

Top Contributors

[![komtcho](https://avatars.githubusercontent.com/u/12757671?v=4)](https://github.com/komtcho "komtcho (12 commits)")[![ksh5](https://avatars.githubusercontent.com/u/20109676?v=4)](https://github.com/ksh5 "ksh5 (2 commits)")

---

Tags

laravellaravel-packagephplaraveluseronlinelaraveleg

### Embed Badge

![Health badge](/badges/komicho-laravel-user-online/health.svg)

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

###  Alternatives

[amranidev/laracombee

Recommendation system for laravel

11636.7k1](/packages/amranidev-laracombee)[salmanzafar/laravel-geocode

A Laravel Library to find Lat and Long of a given Specific Address

153.9k](/packages/salmanzafar-laravel-geocode)[wujunze/money-wrapper

MoneyPHP Wrapper

113.8k](/packages/wujunze-money-wrapper)

PHPackages © 2026

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