Self-Hosted Laravel Logging Dashboard & Encrypted Monolog Vault
Capture PHP 8.2+ controller execution durations, database queries, and unhandled exceptions directly in an embedded real-time web viewer with zero extra open ports, hardware AES-256-GCM encryption, and seamless SQLite-to-MySQL auto-migration.
$ npm install tracernest-logger
Why Engineering Teams Choose TracerNest for Laravel
Traditional Laravel logging dumps unformatted plaintext text to storage/logs/laravel.log or forces you into expensive SaaS egress bills. TracerNest gives you a complete, self-contained observability vault.
Zero Extra TCP Ports
Mounts directly on your Laravel routing pipeline. Browsing to /tracernest serves the embedded web dashboard over your existing port 80/443 without opening extra attack surfaces or firewall rules.
Hardware AES-256-GCM Vault
All Laravel exception traces, request bodies, and SQL parameters are encrypted at rest with tamper-proof 128-bit authentication tags, preventing plaintext PII leaks and unencrypted data exposure.
Auto SQLite-to-MySQL Migration
Use high-speed SQLite WAL in local development and container clusters. Seamlessly switch your Laravel configuration to MySQL in production with automatic schema drift detection and zero downtime.
Request Duration & SQL Query Profiling
Profile controller execution time, Eloquent database query counts, and memory peaks to pinpoint slow API bottlenecks in real time directly from the dashboard.
Laravel & Node.js Observability
Use the Laravel bridge to capture PHP request telemetry. On Node.js, W3C Trace Context correlates application logs with HTTP requests by trace ID.
$0 / Month Self-Hosted Freedom
Say goodbye to Datadog, Sentry, and Papertrail per-gigabyte billing spikes. TracerNest is 100% free and open-source under the Apache 2.0 license.
Laravel Setup
Install the dashboard in Laravel 11, 12, or 13. Choose Composer auto-discovery or the npm installer.
Install with Composer or npm
Run one of these options from your Laravel project. Composer uses Laravel package auto-discovery. The npm installer scaffolds the PHP integration and registers it with your app.
composer require tracernest/tracernest-logger
npm install tracernest-logger
npx tracernest-install-laravel
Open the Dashboard
Start your development server with php artisan serve and visit http://localhost:8000/tracernest. If Composer scaffolding needs to be run manually, use php artisan tracernest:install.
For production, deploy the Composer package or include the PHP and dashboard files generated by the npm installer. Both approaches run in Laravel without Node.js in production.
Optional Monolog Channel
Register the TracerNest custom Monolog driver to automatically capture all framework logs:
'channels' => [
'stack' => [
'driver' => 'stack',
'channels' => ['single', 'tracernest'],
'ignore_exceptions' => false,
],
'tracernest' => [
'driver' => 'custom',
'via' => \App\Logging\TracerNestMonologHandler::class,
'level' => env('LOG_LEVEL', 'debug'),
],
],
TracerNest vs. Traditional Laravel Logging Solutions
See why developers are replacing unencrypted text logs and costly APM agents with TracerNest.
| Feature | TracerNest Laravel Bridge | Standard Laravel Log (storage/*.log) | Datadog / Sentry SaaS |
|---|---|---|---|
| Real-Time Web Dashboard | ✓ Built-in UI (/tracernest) | ✗ None (Console/grep only) | ✓ Cloud Web UI |
| Additional Ports Required | 0 (Mounts on App Port) | 0 (Disk file) | Outbound Agent Port |
| At-Rest Payload Encryption | AES-256-GCM Authenticated | ✗ Plaintext on disk | Vendor Cloud Storage |
| Auto DB Migration (SQLite → MySQL) | ✓ Automated Zero-Downtime | ✗ None | Proprietary Ingestion |
| Microservice Correlation (Node + PHP) | ✓ x-request-id Middleware | ✗ Isolated Silo | Requires Multiple SDKs |
| Monthly License & Ingestion Cost | $0 / month (100% Free) | $0 / month | $250 - $2,500+ / mo |
Laravel Telemetry & Log Viewer FAQs
How does TracerNest achieve zero extra ports in Laravel 13?
TracerNest registers an internal route handler (/tracernest/{any?}) within Laravel's standard HTTP routing pipeline. When a request matches this route, TracerNest serves the pre-compiled dashboard assets and encrypted API responses directly through your existing web server (Nginx, Apache, or Octane) on ports 80/443 without opening any secondary ports.
Does TracerNest require background queue workers or Redis?
No. TracerNest is designed for maximum operational simplicity. It utilizes native SQLite with Write-Ahead Logging (WAL) or direct streaming batches to MySQL. It does not require Redis daemons, RabbitMQ queue workers, or external background agents.
How are logs encrypted at rest in Laravel?
TracerNest utilizes hardware-accelerated AES-256-GCM encryption. Every log payload (headers, exception stack traces, request parameters) is encrypted with a unique 96-bit initialization vector before writing to disk. The 256-bit encryption key is managed securely in .master.key, ensuring plaintext telemetry is never exposed in data backups or server logs.
How does correlation tracking work between Laravel and Node.js APIs?
TracerNest for Node.js supports W3C Trace Context and correlates application logs with HTTP requests by trace ID. In a mixed Laravel and Node.js stack, configure your Laravel code or tracing middleware to forward the trace headers on outbound requests.
Explore Architecture & Production Guides
Dive deeper into zero-port architecture, AES-256-GCM encryption, and zero-downtime database migration in our official engineering guides.