axilivo/bugsnort

Simple exception notification system

Installs: 1 517

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Language:Blade

pkg:composer/axilivo/bugsnort

1.0.0 2026-01-11 22:15 UTC

This package is auto-updated.

Last update: 2026-01-11 22:24:13 UTC


README

Simple exception notification system for Laravel. It sends a formatted email to developers and a Discord notification when exceptions are reported.

Features

  • Sends exception emails to one or more developers
  • Sends Discord notifications for quick alerts
  • Includes useful context (app name, env, file, line, URL, trace)

Requirements

  • PHP 8.2+
  • Laravel 12+

Installation (local)

composer require axilivo/bugsnort

Configuration

Set these in your .env:

DEVELOPER_EMAILS=dev1@example.com,dev2@example.com
DISCORD_URL=https://axilicord.axilivo.com/msge
DISCORD_BEARER_TOKEN=your-token
DISCORD_CHANNEL_ID=your-channel-id

Mail driver configuration must be set via the standard Laravel mail environment variables.

What Gets Sent

  • App name
  • Environment
  • Error message
  • Exception class
  • File and line
  • Request URL, method, IP (when available)
  • Stack trace

Discord message format:

{APP_NAME} error: {ERROR_MESSAGE} — for details check your mail.

Publishing

This package uses Laravel auto-discovery. No manual provider registration is required.

Support

License

MIT. See LICENSE.