Kritim Yantra
May 11, 2025
Laravel Nightwatch is here—and it’s a game-changer.
Announced at Laracon EU 2025 alongside the Laravel 12 release, Nightwatch is a hosted application performance monitoring (APM) tool tailored specifically for Laravel developers. Built from the ground up with Laravel in mind, it delivers real-time, actionable insights about your app's performance—without requiring tedious manual setup or third-party tools.
Whether you’re hosting on Laravel Forge, Vapor, or your own infrastructure, Nightwatch integrates seamlessly with your stack. Let’s dive deep into what makes Laravel Nightwatch the future of Laravel performance monitoring.
While tools like New Relic or Datadog are powerful, they lack deep Laravel-specific context. Laravel Nightwatch addresses this directly by understanding the framework’s inner workings—from Eloquent ORM to Blade view rendering, jobs, queues, and more.
Laravel Nightwatch builds upon Laravel Pulse—a lightweight performance telemetry tool. While Pulse was great for getting basic metrics, Nightwatch takes things to the next level with rich visualizations, real-time alerts, and hosted dashboards. And yes, Pulse will continue to be supported.
Just install it, and it works. No complicated instrumentation or setup. Nightwatch auto-discovers your Laravel components and starts monitoring out-of-the-box.
See which queries are most frequent, which are slow, and how they affect performance—all visualized clearly in your dashboard.
From route resolution to middleware, controller execution, DB queries, and Blade rendering—Nightwatch shows you exactly where your app is spending time.
Set up alerts to get notified of performance spikes, slow requests, or system failures. Ingest logs directly into Nightwatch for centralized analysis.
Nightwatch batches data locally and only sends it to the server every 10 seconds or when 8MB is accumulated, keeping it lightweight and unobtrusive.
Run the following command in your Laravel project:
composer require laravel/nightwatch
Publish the configuration and migrate any needed tables:
php artisan vendor:publish --tag=nightwatch-config
php artisan migrate
In your .env
file, add your Nightwatch credentials:
NIGHTWATCH_ENDPOINT=https://api.nightwatch.laravel.com
NIGHTWATCH_API_KEY=your_api_key_here
That’s it. Nightwatch will now begin monitoring your app in real-time. No extra steps required.
Laravel Nightwatch hooks into Laravel’s event system and request lifecycle, collecting data about:
The collected data is encrypted, buffered, and securely sent to the Nightwatch servers where it's visualized through an intuitive dashboard.
You can monitor metrics like:
Laravel Nightwatch isn't just for catching bugs—it’s your 24/7 performance sidekick. Here’s how you can use it:
Currently, Laravel Nightwatch is in closed beta, with early access rolling out in Q1 2025. The Laravel team has hinted at flexible pricing for individual developers, small teams, and large enterprises.
To join the waitlist, visit https://nightwatch.laravel.com (link TBA).
Laravel Nightwatch is shaping up to be one of the most exciting additions to the Laravel ecosystem in years. With real-time monitoring, zero-config setup, deep Laravel insights, and a performance-first architecture, Nightwatch empowers developers to build better, faster, and more reliable Laravel applications.
✅ Ready to stop guessing and start optimizing?
Join the Laravel Nightwatch early access and supercharge your Laravel apps today.
Transform from beginner to Laravel expert with our personalized Coaching Class starting June 21, 2025. Limited enrollment ensures focused attention.
1-hour personalized coaching
Build portfolio applications
Industry-standard techniques
Interview prep & job guidance
Complete your application to secure your spot
Thank you for your interest in our Laravel mentorship program. We'll contact you within 24 hours with next steps.
No comments yet. Be the first to comment!
Please log in to post a comment:
Sign in with Google