PHPackages                             vcian/pulse-active-sessions - 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. vcian/pulse-active-sessions

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

vcian/pulse-active-sessions
===========================

A Laravel Pulse card to show active user session.

v1.7.2(1y ago)11469.2k↑16.8%8[3 issues](https://github.com/vcian/pulse-active-sessions/issues)[3 PRs](https://github.com/vcian/pulse-active-sessions/pulls)MITBladePHP ^8.1

Since Dec 20Pushed 1y ago4 watchersCompare

[ Source](https://github.com/vcian/pulse-active-sessions)[ Packagist](https://packagist.org/packages/vcian/pulse-active-sessions)[ Docs](https://github.com/vcian/pulse-active-sessions)[ RSS](/packages/vcian-pulse-active-sessions/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (15)Used By (0)

[![Packagist License (custom server)](https://camo.githubusercontent.com/d3e958e976e77d84869d3999f6bdfe2d69385ca7036b6f33676c7772f85d6d85/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f766369616e2f70756c73652d6163746976652d73657373696f6e73)](https://camo.githubusercontent.com/d3e958e976e77d84869d3999f6bdfe2d69385ca7036b6f33676c7772f85d6d85/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f766369616e2f70756c73652d6163746976652d73657373696f6e73)[![Packagist Downloads (custom server)](https://camo.githubusercontent.com/16c0a288174f236ab4d8acc1e15161c493f13df2c6ecf6cf20959e44a7298ae4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f766369616e2f70756c73652d6163746976652d73657373696f6e73)](https://camo.githubusercontent.com/16c0a288174f236ab4d8acc1e15161c493f13df2c6ecf6cf20959e44a7298ae4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f766369616e2f70756c73652d6163746976652d73657373696f6e73)

Active Sessions card for Laravel Pulse
======================================

[](#active-sessions-card-for-laravel-pulse)

This card will show total number of sessions in application.

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

[](#installation)

Require the package with Composer:

```
composer require vcian/pulse-active-sessions
```

Next, you should publish the Pulse configuration and migration files using the vendor:publish Artisan command:

```
php artisan vendor:publish --provider="Laravel\Pulse\PulseServiceProvider"

```

```
php artisan migrate

```

Register the recorder
---------------------

[](#register-the-recorder)

Right now, the Composer dependencies will only be checked once per day. To run the checks you must add the `PulseActiveSessionRecorder` to the `pulse.php` file.

```
return [
    // ...

    'recorders' => [
+        \Vcian\Pulse\PulseActiveSessions\Recorders\PulseActiveSessionRecorder::class => [],
    ]
]
```

You also need to be running [the `pulse:check` command](https://laravel.com/docs/10.x/pulse#dashboard-cards).

Add to your dashboard
---------------------

[](#add-to-your-dashboard)

To add the card to the Pulse dashboard, you must first [publish the vendor view](https://laravel.com/docs/10.x/pulse#dashboard-customization).

Then, you can modify the `dashboard.blade.php` file:

```

+

```

This feature allows you to dynamically set thresholds and display interactive color-coded indicators based on predefined threshold values. Easily configure these thresholds using the `pulse.php` config file for a visual representation of active sessions.

```
+    'active_session_threshold' => 100,
```

[![Active Sessions Card](/art/card-1.png)](/art/card-1.png)

[![Active Sessions Card](/art/card-2.png)](/art/card-2.png)

[![Active Sessions Card](/art/card-3.png)](/art/card-3.png)

[![Active Sessions Card](/art/card-4.png)](/art/card-4.png)

To make pulse recorders will automatically capture entries based on framework events dispatched by Laravel, You must run the below command.

```
php artisan pulse:check

```

That's it!

Supported session drivers
-------------------------

[](#supported-session-drivers)

- database
- file
- redis
- memcached

Not Supported
-------------

[](#not-supported)

- Passport : This will not support when multiple providers used as authentication.It only while using single provider.

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

```
   We believe in
        👇
      ACT NOW
  PERFECT IT LATER
CORRECT IT ON THE WAY.

```

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance41

Moderate activity, may be stable

Popularity46

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64% 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 ~37 days

Recently: every ~80 days

Total

12

Last Release

473d ago

### Community

Maintainers

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

---

Top Contributors

[![ruchit288](https://avatars.githubusercontent.com/u/28095255?v=4)](https://github.com/ruchit288 "ruchit288 (71 commits)")[![vc-vinay](https://avatars.githubusercontent.com/u/86943694?v=4)](https://github.com/vc-vinay "vc-vinay (25 commits)")[![vc-dhavaljoshi](https://avatars.githubusercontent.com/u/37901172?v=4)](https://github.com/vc-dhavaljoshi "vc-dhavaljoshi (7 commits)")[![ahtinurme](https://avatars.githubusercontent.com/u/282119?v=4)](https://github.com/ahtinurme "ahtinurme (6 commits)")[![akiyamaSM](https://avatars.githubusercontent.com/u/12276076?v=4)](https://github.com/akiyamaSM "akiyamaSM (2 commits)")

---

Tags

active-sessionslaravellaravel-pulsephpsessionslaravelsessionpulselaravel-pulseactive-sessionactive-user-sessionpulse-active-session

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/vcian-pulse-active-sessions/health.svg)

```
[![Health](https://phpackages.com/badges/vcian-pulse-active-sessions/health.svg)](https://phpackages.com/packages/vcian-pulse-active-sessions)
```

###  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)[hosmelq/laravel-pulse-schedule

Laravel Pulse card that list all scheduled tasks.

60423.4k](/packages/hosmelq-laravel-pulse-schedule)[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)[kevinsimard/laravel-cookieless-session

Laravel middleware to start a cookieless session

1417.0k](/packages/kevinsimard-laravel-cookieless-session)

PHPackages © 2026

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