Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Monolog Mailgun Laravel Package

tylercd100/monolog-mailgun

Mailgun handler for Monolog in PHP/Laravel apps. Send log records by email through Mailgun with simple configuration, useful for alerts and production error notifications. Lightweight package that plugs into existing Monolog logging stacks.

View on GitHub
Deep Wiki
Context7

Monolog Mailgun Handler

Latest Version Software License Build Status Scrutinizer Code Quality Code Coverage Dependency Status Total Downloads

A Monolog Handler for Mailgun

Installation

Install via composer - In the terminal:

composer require tylercd100/monolog-mailgun

Usage

use Tylercd100\Monolog\Handler\MailgunHandler;

$to      = "to@test.com";
$from    = "from@test.com";
$subject = "Test Email!";
$token   = "1onfifaln234nfkdo02";
$domain  = "test.com";

$handler = new MailgunHandler($to, $subject, $from, $token, $domain);
$logger  = new Monolog\Logger('mailgun.example');
$logger->pushHandler($handler);
$logger->addCritical("Foo Bar!");
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor