Skip to content

axilivo/bugsnort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bugsnort

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.

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors