PHPackages                             flexadmin/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. flexadmin/laravel-email-database-log

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

flexadmin/laravel-email-database-log
====================================

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

1.0.1(1y ago)037MITPHPPHP ^8.0.2|^8.1|^8.2

Since Dec 22Pushed 1y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

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

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

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

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

#### 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+](https://laravel.com/docs/installation)

### Installation Instructions

[](#installation-instructions)

1. From your projects root folder in terminal run:

    ```
        composer require flexadmin/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' => [
        // ...
        Flexadmin\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

28

—

LowBetter than 54% of packages

Maintenance40

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Unknown

Total

1

Last Release

509d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/811997a9f829c8c17108705bcedc7c92d1d5bd698f94e8ab7b09381c7014cb1f?d=identicon)[flexadmin](/maintainers/flexadmin)

---

Top Contributors

[![chidang](https://avatars.githubusercontent.com/u/11662749?v=4)](https://github.com/chidang "chidang (3 commits)")

---

Tags

laravelmailmarkdown

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/flexadmin-laravel-email-database-log/health.svg)](https://phpackages.com/packages/flexadmin-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)
