Download the PHP package michael4d45/context-logging-filament-ui without Composer
On this page you can find all versions of the php package michael4d45/context-logging-filament-ui. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download michael4d45/context-logging-filament-ui
More information about michael4d45/context-logging-filament-ui
Files in michael4d45/context-logging-filament-ui
Package context-logging-filament-ui
Short Description Filament log explorer for michael4d45/context-logging wide events
License MIT
Informations about the package context-logging-filament-ui
Context Logging Filament UI
Filament 5 panel plugin that explores 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
- PHP 8.2+
- Laravel 11–13
- Filament 5
- Wide-event JSON logs from
michael4d45/context-logging(suggested)
Install
Register on a panel:
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:
Publish config:
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.
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
When michael4d45/context-logging is installed in the same app, the plugin:
- Merges panel-aware path patterns into
context-logging.log.ignore_routes - Runs
SuppressExplorerLoggingmiddleware that callsContextStore::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
- 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
- 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_urlfor authenticated panel users — treat that config as trusted.
Config
See config/context-logging-filament-ui.php for apps, log paths, SPX, truncate threshold, and ignore patterns.
All versions of context-logging-filament-ui with dependencies
filament/filament Version ^5.0
illuminate/support Version ^11.0|^12.0|^13.0
illuminate/http Version ^11.0|^12.0|^13.0
spatie/laravel-package-tools Version ^1.16