inspectornetwork/logwatch-laravel

Official Laravel logger for the Logwatch platform.

Maintainers

Package info

github.com/inspectornetwork/LogWatch-Laravel

pkg:composer/inspectornetwork/logwatch-laravel

Statistics

Installs: 268

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.1 2026-02-16 15:21 UTC

This package is auto-updated.

Last update: 2026-03-16 15:30:31 UTC


README

Logwatch is a logging driver for Laravel that streams your application logs and exceptions to the Logwatch dashboard in real-time.

Installation

You can install the package via composer:

The service provider will automatically register the logwatch driver with Laravel's LogManager.

Configuration

  1. Environment Setup

Add your project credentials to your .env file.

  1. Configure Logging Channel

Add the logwatch channel to the channels array in config/logging.php. To stream logs in parallel with your local files, add it to your stack.

Features

Smart Dispatching: Logwatch intelligently detects your execution environment. It uses non-blocking asynchronous requests for Web contexts and synchronous requests for CLI/Artisan contexts.

  • Auto-Discovery: No manual server registration required. Logwatch identifies originating nodes by their hostname.
  • Rich Context and Stack Traces: Pass exceptions or arrays directly to the logger. Logwatch captures the full stack trace and environment state.

License

The MIT License (MIT). Please see LICENSE.md for more information.