PHPackages                             zepfietje/laravel-seeable - 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. zepfietje/laravel-seeable

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

zepfietje/laravel-seeable
=========================

Keep track of the date and time a user was last seen.

0.3.3(3y ago)372.2k5MITPHPPHP ^8.1

Since Jun 30Pushed 3y agoCompare

[ Source](https://github.com/zepfietje/laravel-seeable)[ Packagist](https://packagist.org/packages/zepfietje/laravel-seeable)[ Docs](https://github.com/zepfietje/laravel-seeable)[ RSS](/packages/zepfietje-laravel-seeable/feed)WikiDiscussions main Synced today

READMEChangelog (8)Dependencies (8)Versions (9)Used By (0)

[![Packagist Version](https://camo.githubusercontent.com/0d152312e530306d2d93cfa02767ad77fa1b9e73fab8330b9b9eee5396fd0fd1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a6570666965746a652f6c61726176656c2d73656561626c65)](https://packagist.org/packages/zepfietje/laravel-seeable)[![Packagist Downloads](https://camo.githubusercontent.com/c2d07a78f376a3d07c873f4e8cf9f6392dd8c268e0dbb2e9d9be63b694c3f151/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a6570666965746a652f6c61726176656c2d73656561626c65)](https://packagist.org/packages/zepfietje/laravel-seeable/stats)

Laravel Seeable
===============

[](#laravel-seeable)

This package makes it easy to keep track of the date and time a user was last seen.

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

[](#installation)

1. Install this package: ```
    composer require zepfietje/laravel-seeable
    ```
2. Optionally publish the configuration file: ```
    php artisan vendor:publish --tag="seeable-config"
    ```
3. Add a `seen_at` column to your users table: ```
    return new class extends Migration
    {
        public function up(): void
        {
            Schema::table('users', function (Blueprint $table) {
                $table->timestamp('seen_at')->nullable();
            });
        }

        // ...
    };
    ```
4. Add the `Seeable` concern to your user model: ```
    namespace App\Models;

    // ...
    use ZepFietje\Seeable\Concerns\Seeable;

    class User extends Authenticatable
    {
        // ...
        use Seeable;
    }
    ```
5. Register the `SeeUser` middleware in your `app/Http/Kernel.php` file: ```
    protected $middlewareGroups = [
        'web' => [
            // ...
            \ZepFietje\Seeable\Http\Middleware\SeeUser::class,
        ],
    ];
    ```

Usage
-----

[](#usage)

### Query scopes

[](#query-scopes)

```
User::seenAfter('2022-06-30')->get();
$dailyActiveUsers = User::seenPastDay()->count();
$weeklyActiveUsers = User::seenPastWeek()->count();
$monthlyActiveUsers = User::seenPastMonth()->count();
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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

Recently: every ~57 days

Total

8

Last Release

1236d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravelphpseeablelaravelseeable

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/zepfietje-laravel-seeable/health.svg)

```
[![Health](https://phpackages.com/badges/zepfietje-laravel-seeable/health.svg)](https://phpackages.com/packages/zepfietje-laravel-seeable)
```

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124603.0k](/packages/worksome-exchange)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

199.4k](/packages/tarfin-labs-event-machine)

PHPackages © 2026

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