yaro/log-envelope
Larablocks Analysis
yaro/log-envelope works with Laravel 5 to 10 (latest release 1.10.0, Aug 14, 2023), all past end of life (the last on Feb 4, 2025): no more fixes, even for security.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- Supports only Laravel 5 to 10, past end of life since Feb 4, 2025
- No release in the last 12 months (last: Aug 14, 2023)
- 5 downloads a month (needs 10,000)
- 41 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Aug 14, 2023.
- No releases in the last 12 months.
- First released: Aug 18, 2015.
- Monthly downloads: 5, down 50% from six months ago.
- 4 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 3, 2026.
| Install | |
|---|---|
composer require yaro/log-envelope |
|
| Latest Version: | 1.10.0 |
| PHP: | >=5.4.0 |
| Laravel: | 5 – 10 |
| License: | MIT |
| Last Updated: | Feb 27, 2024 |
| Links: | GitHub · Packagist |
Log Envelope
Laravel 5-9 package for logging errors to your e-mail(s), telegram, slack and database!
Installation
You can install the package through Composer.
composer require yaro/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.
There is a censored_fields option which will change any fields value to ***** if it is named in this array. For example by default it will change values for fields called password to *****.
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
- highlight traceback in emails
- page with logs from database
Results
Something like this with other info for debugging.
Email:

Slack:

Telegram:

License
The MIT License (MIT). Please see LICENSE for more information.
Alternatives to yaro/log-envelope
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 1.10.0 | >=5.4.0 | 5.*| | MIT | |
| 1.9.1 | >=5.4.0 | 5.*| | MIT | |
| 1.9.0 | >=5.4.0 | 5.*| | MIT | |
| 1.8.1 | >=5.4.0 | 5.*| | MIT | |
| 1.8.0 | >=5.4.0 | 5.*| | MIT | |
| 1.7.0 | >=5.4.0 | 5.*| | MIT | |
| 1.6.0 | >=5.4.0 | 5.*| | MIT | |
| 1.5.0 | >=5.4.0 | 5.*| | MIT | |
| 1.4.4 | >=5.4.0 | 5.* | MIT | |
| 1.4.3 | >=5.4.0 | 5.* | MIT | |
| 1.4.2 | >=5.4.0 | 5.* | MIT | |
| 1.4.1 | >=5.4.0 | 5.* | MIT | |
| 1.4.0 | >=5.4.0 | 5.* | MIT | |
| 1.3.2 | >=5.4.0 | 5.* | MIT | |
| 1.3.1 | >=5.4.0 | 5.* | MIT | |
| 1.3.0 | >=5.4.0 | 5.* | MIT | |
| 1.2.2 | >=5.4.0 | 5.* | MIT | |
| 1.2.1 | >=5.4.0 | 5.* | MIT | |
| 1.2.0 | >=5.4.0 | 5.* | MIT | |
| 1.1.0 | >=5.4.0 | 5.* | MIT | |
| 1.0.0 | >=5.4.0 | 5.* | MIT |

