michal-palus1/telescope-remote-logger

Send Laravel Telescope entries to a remote server via HTTP.

v1.1.0 2025-07-27 10:43 UTC

This package is not auto-updated.

Last update: 2025-07-27 08:43:47 UTC


README

A Laravel package that sends Laravel Telescope entries to a remote logging or monitoring endpoint.

🚀 Installation

Install via Composer:

composer require michal-palus1/telescope-remote-logger

Laravel auto-discovers the package—no manual service provider registration needed.

🔧 Configuration

To enable remote logging, set in .env:

TELESCOPE_REMOTE_LOG_ENABLED=true

📝 Usage

Once installed and configured, the package captures Telescope entries (queries, exceptions, jobs, etc.) and forwards them to your remote server whenever Telescope records a log.

❌ Disabling the Logger

To disable remote logging, set in .env:

REMOTE_LOGGER_ENABLED=false

✅ Supported Features

  • Sends Telescope logs (exceptions, requests, jobs, queries, cache, etc.) to a remote endpoint
  • Laravel auto-discovery compatible
  • Configurable via .env

💡 Example Use Case

  1. Run Laravel Telescope locally or on staging.
  2. Logs captured by Telescope are automatically forwarded via configured endpoint.
  3. You can view all data in a telescope dashboard

📄 License

This package is licensed under the MIT License.