PHPackages                             guysolamour/laravel-dkim - 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. guysolamour/laravel-dkim

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

guysolamour/laravel-dkim
========================

Laravel package for signing outgoing messages with DKIM.

v1.0(2y ago)0511MITPHP

Since Jun 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/guysolamour/laravel-dkim)[ Packagist](https://packagist.org/packages/guysolamour/laravel-dkim)[ RSS](/packages/guysolamour-laravel-dkim/feed)WikiDiscussions main Synced 1mo ago

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

Laravel DKIM
============

[](#laravel-dkim)

[![Packagist](https://camo.githubusercontent.com/65ac40869ce77f7e35e2beab7eb412d980fe33079ad267847f8765a7367af6b4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f677579736f6c616d6f75722f6c61726176656c2d646b696d2e737667)](https://packagist.org/packages/guysolamour/laravel-dkim)[![Packagist](https://camo.githubusercontent.com/f84541914b9daef15499a5f606b3d9b1a567da3728dfc3adf2e7a64df5a1ad43/68747470733a2f2f706f7365722e707567782e6f72672f677579736f6c616d6f75722f6c61726176656c2d646b696d2f642f746f74616c2e737667)](https://packagist.org/packages/guysolamour/laravel-dkim)[![Packagist](https://camo.githubusercontent.com/5394c1a4eca32adfe0d2169bbadc34050c7e705ab18b63418f8c85dba68ac414/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f677579736f6c616d6f75722f6c61726176656c2d646b696d2e737667)](https://packagist.org/packages/guysolamour/laravel-dkim)

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

[](#installation)

Install via composer

```
composer require guysolamour/laravel-dkim
```

After that, you should publish the config file with:

```
php artisan vendor:publish --provider="Guysolamour\Dkim\ServiceProvider"
```

The ServiceProvider extends the MailServiceProvider and overwrites a method that we need for our own behavior.

Next we need to create a private and public key pair for signing and verifying the email.

There are many tools available to generate the necessary keys but here is one which is easy to use:

Enter your domain and in the "selector" field enter `default`, or adjust the "selector" in the laravel config file accordingly. Leave the remaining fields as they are.

After you have generated the keys and added the public key to your dns record, here is a tool to validate it:

Finally, store the private key for example in `storage/app/dkim/dkim.private.key` and configure your settings in `.env`:

You need to set the **full absolute path** in the environment variable.

```
DKIM_DOMAIN=example.com
```

Credits
-------

[](#credits)

- [Guy-roland ASSALE](https://github.com/guysolamour/laravel-dkim)
- [All contributors](https://github.com/guysolamour/laravel-dkim/graphs/contributors)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity44

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

1074d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/45a6375d79a9d7c7b3947473bef714f03a02bb0341d06e6c17ca114b82b0b01d?d=identicon)[guysolamour](/maintainers/guysolamour)

---

Top Contributors

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

---

Tags

laraveldkim

### Embed Badge

![Health badge](/badges/guysolamour-laravel-dkim/health.svg)

```
[![Health](https://phpackages.com/badges/guysolamour-laravel-dkim/health.svg)](https://phpackages.com/packages/guysolamour-laravel-dkim)
```

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[mckenziearts/laravel-notify

Flexible flash notifications for Laravel

1.7k1.1M5](/packages/mckenziearts-laravel-notify)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[propaganistas/laravel-disposable-email

Disposable email validator

5762.6M6](/packages/propaganistas-laravel-disposable-email)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

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