laravellaravelOfficialยท1 Agent Skills Included

nightwatch

Laravel application monitoring, sampling, filtering, and data redaction

Configures Laravel Nightwatch monitoring for requests, commands, queries, cache, jobs, mail, and exceptions. Controls sampling rates, event filtering, and sensitive data redaction to cut noise and protect PII. Provides production-ready presets and reference tables to balance observability, performance, and privacy.
npx skills add laravel/nightwatch --all -g -y
Available:

Gives your AI agent the coding standards, architecture patterns, and testing rules to follow when modifying or extending this Laravel monitoring package.

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install Laravel Nightwatch?โ–ผ

Run `npx skills add laravel/nightwatch --all -g -y` in your terminal to install all skills in this suite globally.

How to configure Nightwatch sampling rates?โ–ผ

Set environment variables like NIGHTWATCH_REQUEST_SAMPLE_RATE=0.1 to capture a percentage of traffic, or use the Sample middleware for route-specific rates.

How to redact sensitive data in Nightwatch?โ–ผ

Use redaction callbacks like Nightwatch::redactRequests() or set NIGHTWATCH_REDACT_HEADERS and NIGHTWATCH_REDACT_PAYLOAD_FIELDS to remove passwords, tokens, and PII.

How to filter noisy events in Laravel monitoring?โ–ผ

Use filtering methods like rejectQueries(), rejectCacheKeys(), or rejectMail() to drop specific events, or set NIGHTWATCH_IGNORE_* variables to disable entire event types.

Does Nightwatch work with Laravel 10, 11, and 12?โ–ผ

Yes. The package supports Laravel 10, 11, and 12 on PHP 8.2 or higher, with built-in compatibility handling for version-specific features.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’