PHPackages                             michael4d45/context-logging-filament-ui - 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. michael4d45/context-logging-filament-ui

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

michael4d45/context-logging-filament-ui
=======================================

Filament log explorer for michael4d45/context-logging wide events

v0.1.0(yesterday)03↑2900%MITPHP ^8.2

Since Jul 22Compare

[ Source](https://github.com/Michael4d45/context-logging-filament-ui)[ Packagist](https://packagist.org/packages/michael4d45/context-logging-filament-ui)[ RSS](/packages/michael4d45-context-logging-filament-ui/feed)WikiDiscussions Synced today

READMEChangelogDependencies (5)Versions (2)Used By (0)

Context Logging Filament UI
===========================

[](#context-logging-filament-ui)

Filament 5 panel plugin that explores [`michael4d45/context-logging`](https://packagist.org/packages/michael4d45/context-logging) wide-event logs (Livewire, no React).

**Status:** `0.1.0` — suitable for trusted local/staging admin panels. Not a hardened multi-tenant production console yet.

Requirements
------------

[](#requirements)

- PHP 8.2+
- Laravel 11–13
- Filament 5
- Wide-event JSON logs from `michael4d45/context-logging` (suggested)

Install
-------

[](#install)

```
composer require michael4d45/context-logging-filament-ui
```

Register on a panel:

```
use Michael4d45\ContextLoggingFilamentUi\ContextLoggingFilamentUiPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugin(
            ContextLoggingFilamentUiPlugin::make()
                ->navigationLabel('Log Explorer')
                ->navigationSort(90)
                // ->canAccess(fn (): bool => auth()->user()?->isAdmin() ?? false)
        );
}
```

### Theme CSS (`@source`)

[](#theme-css-source)

Add the package Blade views to your Filament theme CSS, then rebuild Vite. Without this, Tailwind will purge almost all explorer classes and the UI will look broken:

```
@source '../../../../vendor/michael4d45/context-logging-filament-ui/resources/**/*.blade.php';
```

Publish config:

```
php artisan vendor:publish --tag=context-logging-filament-ui-config
```

### Configure log paths

[](#configure-log-paths)

Set `CONTEXT_LOG_FILAMENT_LOG_PATH` (or edit `config/context-logging-filament-ui.php`) to the JSON log file(s) that contain wide events. There is **no** default path — pointing at a generic `laravel.log` usually shows nothing useful.

```
CONTEXT_LOG_FILAMENT_LOG_PATH=/var/www/html/storage/logs/context.log
CONTEXT_LOG_FILAMENT_ROOT_PATH=/var/www/html
CONTEXT_LOG_FILAMENT_CONTAINER_ROOT=/var/www/html
CONTEXT_LOG_FILAMENT_SPX_BASE_URL="${APP_URL}"
CONTEXT_LOG_FILAMENT_SPX_HTTP_KEY=dev
```

### Docker / WSL source maps

[](#docker--wsl-source-maps)

Trace paths often look like `/var/www/html/...` inside a container. Set `container_root` to that prefix and `root_path` to the path PHP can read on the machine running the explorer so the source viewer can open files.

If you path-require this package via a Composer symlink, mount the package directory into **every** PHP/queue/Vite container that autoloads it, or you will get class-not-found / failed-to-open-stream noise.

Self-guard
----------

[](#self-guard)

When `michael4d45/context-logging` is installed in the same app, the plugin:

1. Merges panel-aware path patterns into `context-logging.log.ignore_routes`
2. Runs `SuppressExplorerLogging` middleware that calls `ContextStore::suppressEmission()` for explorer page loads, Livewire updates targeting the explorer, and SPX bridge/profile routes

So viewing logs should not emit new wide events for the viewer itself.

Features
--------

[](#features)

- Emit list, search, live poll (4s), pause
- Optional auto-truncate (destructive; UI toggle, off by default)
- Waterfall timeline
- **Experimental** execution-path flame view (simplified; not full React parity)
- Interactive SPX flamegraph + profile (client-fetched)
- Typed event details, PHP/SQL highlighting, source/trace viewer

Security notes
--------------

[](#security-notes)

- Auto-truncate **rewrites log files** (keeps the newest half). Restrict panel access with `canAccess()`.
- SPX bridge/profile routes use the **Filament panel auth middleware** (not bare `auth`).
- The SPX bridge proxies the configured `spx_base_url` for authenticated panel users — treat that config as trusted.

Config
------

[](#config)

See `config/context-logging-filament-ui.php` for apps, log paths, SPX, truncate threshold, and ignore patterns.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance100

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

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

Unknown

Total

1

Last Release

1d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2423882?v=4)[Michael Harvey](/maintainers/Michael4d45)[@Michael4d45](https://github.com/Michael4d45)

---

Tags

laravelloggingfilamentobservabilityContext Loggingwide-events

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/michael4d45-context-logging-filament-ui/health.svg)

```
[![Health](https://phpackages.com/badges/michael4d45-context-logging-filament-ui/health.svg)](https://phpackages.com/packages/michael4d45-context-logging-filament-ui)
```

###  Alternatives

[defstudio/telegraph

A laravel facade to interact with Telegram Bots

813336.8k3](/packages/defstudio-telegraph)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.8k](/packages/rawilk-profile-filament-plugin)[backstage/mails

View logged mails and events in a beautiful Filament UI.

16121.5k](/packages/backstage-mails)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5022.6k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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