PHPackages                             vis/log-envelope - 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. vis/log-envelope

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

vis/log-envelope
================

Laravel 5 email on error

1.2.7(8y ago)0296MITPHPPHP &gt;=5.4.0

Since Aug 18Pushed 8y ago1 watchersCompare

[ Source](https://github.com/arturishe21/LogEnvelope)[ Packagist](https://packagist.org/packages/vis/log-envelope)[ RSS](/packages/vis-log-envelope/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (11)Used By (0)

Log Envelope
============

[](#log-envelope)

Laravel 5 package for logging errors to your e-mail(s), telegram, slack and database!

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

[](#installation)

You can install the package through Composer.

```
composer require vis/log-envelope
```

You must install this service provider. Make this the very first provider in list.

```
// config/app.php
'providers' => [
    // make this very first provider
    // so fatal exceptions can be catchable by envelope
    Yaro\LogEnvelope\ServiceProvider::class,
    //...
];
```

Then publish the config and migration file of the package using artisan.

```
php artisan vendor:publish --provider="Yaro\LogEnvelope\ServiceProvider"
```

Change your Exception Handler's (`/app/Exceptions/Handler.php` by default) `report` method like this:

```
//...
public function report(Exception $e)
{
    $res = parent::report($e);

    \LogEnvelope::send($e);
    //...

    return $res;
}
//...
```

Change config `yaro.log-envelope.php` for your needs. You can choose to log your errors to your database or send them to your email/telegram/slack. Emails are preferable, cuz they contains more debug information, such as traceback.

Also there is `force_config` option, where you can define which configs to override for LogEnvelope execution. E.g., if you using some smtp for mail sending and queue it, you can change configs to send LogEnvelope emails immediately and not via smtp:

```
'force_config' => [
    'mail.driver' => 'sendmail',
    'queue.default' => 'sync',
],

```

TODO
----

[](#todo)

- highlight traceback in emails
- page with logs from database

Results
-------

[](#results)

Something like this with other info for debugging.

---

Email:

[![results](https://raw.githubusercontent.com/Cherry-Pie/LogEnvelope/master/envelope-email.png)](https://raw.githubusercontent.com/Cherry-Pie/LogEnvelope/master/envelope-email.png)

---

Slack:

[![results](https://raw.githubusercontent.com/Cherry-Pie/LogEnvelope/master/envelope-slack.jpg)](https://raw.githubusercontent.com/Cherry-Pie/LogEnvelope/master/envelope-slack.jpg)

---

Telegram:

[![results](https://raw.githubusercontent.com/Cherry-Pie/LogEnvelope/master/envelope-telegram.jpg)](https://raw.githubusercontent.com/Cherry-Pie/LogEnvelope/master/envelope-telegram.jpg)

License
-------

[](#license)

The MIT License (MIT). Please see [LICENSE](https://github.com/Cherry-Pie/LogEnvelope/blob/master/LICENSE) for more information.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 58.8% 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 ~116 days

Recently: every ~88 days

Total

9

Last Release

3041d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b7ffd6192296a7a4be50ef6051026bdcb226401a5114d64dacc16dcaf7fb827?d=identicon)[arturishe](/maintainers/arturishe)

---

Top Contributors

[![Cherry-Pie](https://avatars.githubusercontent.com/u/3027596?v=4)](https://github.com/Cherry-Pie "Cherry-Pie (20 commits)")[![KHlushchenko](https://avatars.githubusercontent.com/u/6852568?v=4)](https://github.com/KHlushchenko "KHlushchenko (7 commits)")[![Cannonb4ll](https://avatars.githubusercontent.com/u/3110750?v=4)](https://github.com/Cannonb4ll "Cannonb4ll (3 commits)")[![arturishe21](https://avatars.githubusercontent.com/u/9445877?v=4)](https://github.com/arturishe21 "arturishe21 (2 commits)")[![JayBizzle](https://avatars.githubusercontent.com/u/340752?v=4)](https://github.com/JayBizzle "JayBizzle (1 commits)")[![phuang07](https://avatars.githubusercontent.com/u/353542?v=4)](https://github.com/phuang07 "phuang07 (1 commits)")

---

Tags

loglaravelerrormail on error

### Embed Badge

![Health badge](/badges/vis-log-envelope/health.svg)

```
[![Health](https://phpackages.com/badges/vis-log-envelope/health.svg)](https://phpackages.com/packages/vis-log-envelope)
```

###  Alternatives

[sentry/sentry-laravel

Laravel SDK for Sentry (https://sentry.io)

1.3k122.6M186](/packages/sentry-sentry-laravel)[larabug/larabug

Laravel 6.x/7.x/8.x/9.x/10.x/11.x/12.x/13.x bug notifier

299571.0k1](/packages/larabug-larabug)[spatie/laravel-health

Monitor the health of a Laravel application

87411.3M154](/packages/spatie-laravel-health)[yaro/log-envelope

Laravel 5 email on error

4147.0k](/packages/yaro-log-envelope)[spatie/laravel-flare

Send Laravel errors to Flare

111.2M6](/packages/spatie-laravel-flare)[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).

14844.4k1](/packages/guanguans-laravel-exception-notify)

PHPackages © 2026

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