tobymaxham/laravel-dkim

This package can enable DKIM for your Laravel mails.

v2.1.0 2023-05-16 22:05 UTC

This package is auto-updated.

Last update: 2024-04-17 00:00:14 UTC


README

Latest Version on Packagist Total Downloads

This package can be used to add a DKIM signature to your outgoing mails.

Instead of changing the default Laravel Mailer, Laravel DKIM will listen for the \Illuminate\Mail\Events\MessageSending Event and then call the \TobyMaxham\LaravelDkimSigner\Listener\ApplyDkimSignature Listener.

This keeps your Laravel Mailer behavior or any changes you have done inside your projects.

Installation

You can install the package via composer:

composer require tobymaxham/laravel-dkim

Usage

If you are using Laravel with auto discovery you have nothing to do. Be sure the package Service Provider TobyMaxham\LaravelDkimSigner\DkimSignerProvider is registered in your config/app.php file.

You can disable the signer by setting the dkim_signer_enabled config value to false.

<?php

return [
    'dkim_signer_enabled' => env('MAIL_DKIM_ENABLED', true),
];

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security Vulnerabilities

If you've found a bug regarding security please mail git@maxham.de instead of using the issue tracker.

Support me

ko-fi

Credits

License

The MIT License (MIT). Please see License File for more information.