PHPackages                             jeremykenedy/laravel-email-database-log - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. jeremykenedy/laravel-email-database-log

ActivePackage[Mail &amp; Notifications](/categories/mail)

jeremykenedy/laravel-email-database-log
=======================================

A database logger for all outgoing emails sent by your Laravel application.

v12.0.0(7mo ago)915.3k↓15.4%3MITPHPPHP ^8.0CI passing

Since Feb 27Pushed 7mo ago2 watchersCompare

[ Source](https://github.com/jeremykenedy/laravel-email-database-log)[ Packagist](https://packagist.org/packages/jeremykenedy/laravel-email-database-log)[ RSS](/packages/jeremykenedy-laravel-email-database-log/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (11)Used By (0)

Laravel Email Database Log
==========================

[](#laravel-email-database-log)

A database logger for all outgoing emails sent by your Laravel application.

[![Total Downloads](https://camo.githubusercontent.com/f4d7228e3e8bfd943025c653cc0b0a914423912a9458f7a5ec9ae3da20f6dfa0/68747470733a2f2f706f7365722e707567782e6f72672f6a6572656d796b656e6564792f6c61726176656c2d656d61696c2d64617461626173652d6c6f672f642f746f74616c2e737667)](https://packagist.org/packages/jeremykenedy/laravel-email-database-log)[![StyleCI](https://camo.githubusercontent.com/db23980ed109764dec48474fa09ac7bd18d4f4e4788d383211af27c2a4353051/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3630363932373435382f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/606927458?branch=master)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)[![Become a Patreon](https://camo.githubusercontent.com/ef7b855018f1f680eeba6fd1ac470b9c1971ef883b2f4b9fcf41034274510e3f/68747470733a2f2f63352e70617472656f6e2e636f6d2f65787465726e616c2f6c6f676f2f6265636f6d655f615f706174726f6e5f627574746f6e2e706e67)](https://www.patreon.com/bePatron?u=10119959 "Become a Patreon")

#### Table of contents

[](#table-of-contents)

- [Requirements](#requirements)
- [Installation Instructions](#installation-instructions)
    - [Publish All Assets](#publish-all-assets)
- [Usage](#usage)
- [File Tree](#file-tree)
- [License](#license)

### Requirements

[](#requirements)

- [Laravel 5.5, 5.6, 5.7, 5.8, 6.0+, 7.0+, 8.0+, 9.0+, 10.0+, 11.0+, or 12.0+](https://laravel.com/docs/installation)

### Installation Instructions

[](#installation-instructions)

1. From your projects root folder in terminal run:

    ```
        composer require jeremykenedy/laravel-email-database-log
    ```
2. Register the package

- Laravel 5.5 and up Uses package auto discovery feature, no need to edit the `config/app.php` file.
- Laravel 5.4 and below Register the package with laravel in `config/app.php` under `providers` with the following:

```
    'providers' => [
        // ...
        jeremykenedy\LaravelEmailDatabaseLog\LaravelEmailDatabaseLogServiceProvider::class,
    ];
```

3. Publish the packages migration files by running the following from your projects root folder:

```
php artisan vendor:publish --tag=laravel-email-database-log-migration
```

4. From your projects root folder in terminal run the migration:

```
php artisan migrate
```

### Usage

[](#usage)

After installation, any email sent by your application will be logged to `email_log` table in the site's database.

### File Tree

[](#file-tree)

```
laravel-email-database-log
├── .all-contributorsrc
├── .github
│   └── workflows
│       └── master.yml
├── .gitignore
├── .styleci.yml
├── LICENSE.md
├── README.md
├── composer.json
├── composer.lock
├── phpunit.xml
└── src
    ├── Database
    │   └── Migrations
    │       └── 2023_02_26_001638_create_email_log.php
    ├── EmailLogger.php
    ├── LaravelEmailDatabaseLogEventServiceProvider.php
    └── LaravelEmailDatabaseLogServiceProvider.php
```

- Tree command can be installed using brew: `brew install tree`
- File tree generated using command `tree -a -I '.git|node_modules|vendor|storage|tests'`

### License

[](#license)

Laravel Email Database Log is licensed under the [MIT license](https://opensource.org/licenses/MIT). Enjoy!

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance65

Regular maintenance activity

Popularity33

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~107 days

Recently: every ~242 days

Total

10

Last Release

210d ago

Major Versions

v10.1.0 → v11.0.02023-02-27

v11.5.0 → v12.0.02025-10-21

PHP version history (2 changes)v10.0.1PHP ^8.0.2|^8.1|^8.2

v12.0.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/05cef7d9ee65723b129042943511207fb34db74a56afbf67b5900987f758c161?d=identicon)[jeremykenedy](/maintainers/jeremykenedy)

---

Top Contributors

[![jeremykenedy](https://avatars.githubusercontent.com/u/6244570?v=4)](https://github.com/jeremykenedy "jeremykenedy (24 commits)")[![neochief](https://avatars.githubusercontent.com/u/121889?v=4)](https://github.com/neochief "neochief (21 commits)")[![spaantje](https://avatars.githubusercontent.com/u/477362?v=4)](https://github.com/spaantje "spaantje (8 commits)")[![maxdestors](https://avatars.githubusercontent.com/u/3854597?v=4)](https://github.com/maxdestors "maxdestors (5 commits)")[![vahidalvandi](https://avatars.githubusercontent.com/u/7871623?v=4)](https://github.com/vahidalvandi "vahidalvandi (3 commits)")[![juniorb2ss](https://avatars.githubusercontent.com/u/3980385?v=4)](https://github.com/juniorb2ss "juniorb2ss (3 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (2 commits)")[![kentdahl](https://avatars.githubusercontent.com/u/2970005?v=4)](https://github.com/kentdahl "kentdahl (1 commits)")[![hapheus](https://avatars.githubusercontent.com/u/837072?v=4)](https://github.com/hapheus "hapheus (1 commits)")[![robbielove](https://avatars.githubusercontent.com/u/13571547?v=4)](https://github.com/robbielove "robbielove (1 commits)")[![d-lamers](https://avatars.githubusercontent.com/u/3164508?v=4)](https://github.com/d-lamers "d-lamers (1 commits)")[![bitrevo](https://avatars.githubusercontent.com/u/1067833?v=4)](https://github.com/bitrevo "bitrevo (1 commits)")

---

Tags

email-loglaravel-email-loglaravelmailmarkdown

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jeremykenedy-laravel-email-database-log/health.svg)

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

###  Alternatives

[propaganistas/laravel-disposable-email

Disposable email validator

5762.6M6](/packages/propaganistas-laravel-disposable-email)[masterro/laravel-mail-viewer

Easily view in browser outgoing emails.

6392.1k](/packages/masterro-laravel-mail-viewer)[modernmcguire/mailthief

A Laravel package to catch outbound mail (similar to Mailtrap) that also provides a UI to view them.

318.5k](/packages/modernmcguire-mailthief)

PHPackages © 2026

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