PHPackages                             salvakexx/laravel-email-logger - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. salvakexx/laravel-email-logger

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

salvakexx/laravel-email-logger
==============================

Simple Laravel package for logging via mail

0.0.7(6y ago)0267MITPHP

Since Mar 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/salvakexx/laravel-email-logger)[ Packagist](https://packagist.org/packages/salvakexx/laravel-email-logger)[ RSS](/packages/salvakexx-laravel-email-logger/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (5)Used By (0)

laravel-email-logger
====================

[](#laravel-email-logger)

Simple Laravel package for logging via email

Installation
------------

[](#installation)

Add the package using composer:

```
composer require salvakexx/laravel-email-logger
```

In your config/app.php :

```
'providers' => [
  /*
   * Package Service Providers...
   */
   Salvakexx\EmailLogger\EmailLoggerServiceProvider::class,
],
```

```
'aliases' => [
  /*
   * Class Aliases...
   */
   'EmailLogger' => \Salvakexx\EmailLogger\EmailLoggerFacade::class,
],
```

Publish the configuration file

```
php artisan vendor:publish --provider="Salvakexx\EmailLogger\EmailLoggerServiceProvider"
```

Quickstart
----------

[](#quickstart)

1. Fill emails (and other parameters) in app/config/email-logger.php

```
    'emails' => [
        //fill this array with emails that will receive logs
    ],
//    'emails'    => explode(',',env('MAIL_LOGGER_EMAILS')),
```

2. Check out your email configuration. Mail Facade must be working

Using
-----

[](#using)

```
  \EmailLogger::info(request(),'Information on action etc. ');

  \EmailLogger::error($exception,request(),'Error happened please check');
```

You can catch every exception directly, or catch all exceptions on your website. To do this override render() function in app/Exceptions/Handler.php for example :

```

    /**
     * Render an exception into an HTTP response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Exception  $exception
     * @return \Illuminate\Http\Response
     */
    public function render($request, Exception $exception)
    {
        //exclude the common exceptions
        $exception = $this->prepareException($exception);
        if(
            !$exception instanceof NotFoundHttpException
            && !$exception instanceof AuthenticationException
            && !$exception instanceof ValidationException
        ){
            \EmailLogger::error($exception,$request,'Internal Server Error happened');
        }

        //Track user camed to 404
        if($exception instanceof NotFoundHttpException){
            \EmailLogger::info($request,'User lost somehow check please');
        }

        return parent::render($request, $exception);
    }
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~213 days

Total

4

Last Release

2331d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b6e9f449756625750f487231ad67f879e428efbbd367cd2efebf315522fa5bbc?d=identicon)[salvakexx](/maintainers/salvakexx)

---

Top Contributors

[![salvakexx](https://avatars.githubusercontent.com/u/4169208?v=4)](https://github.com/salvakexx "salvakexx (1 commits)")

### Embed Badge

![Health badge](/badges/salvakexx-laravel-email-logger/health.svg)

```
[![Health](https://phpackages.com/badges/salvakexx-laravel-email-logger/health.svg)](https://phpackages.com/packages/salvakexx-laravel-email-logger)
```

###  Alternatives

[overtrue/laravel-query-logger

A dev tool to log all queries for laravel application.

413307.5k6](/packages/overtrue-laravel-query-logger)[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14642.7k1](/packages/guanguans-laravel-exception-notify)[regulus/activity-log

A clean and simple Laravel 5 activity logger for monitoring user activity on a website or web application.

164220.1k2](/packages/regulus-activity-log)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
