PHPackages                             metalinspired/laminas-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. metalinspired/laminas-dkim

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

metalinspired/laminas-dkim
==========================

DKIM Signer for Laminas Mail

2.0.1(3y ago)112.0k↓100%3MITPHPPHP ^8.1

Since Jul 8Pushed 3y ago2 watchersCompare

[ Source](https://github.com/metalinspired/laminas-dkim)[ Packagist](https://packagist.org/packages/metalinspired/laminas-dkim)[ RSS](/packages/metalinspired-laminas-dkim/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (5)Versions (5)Used By (0)

README
======

[](#readme)

Laminas Project DKIM Signer.

**Note**

Based on [joepsyko/zf-dkim](https://github.com/joepsyko/zf-dkim)

**Installation**

`composer require metalinspired/laminas-dkim`

Create a *./config/autoload/dkim.global.php* and *./config/autoload/dkim.local.php* file with the configuration variable values as described in the project *.dist* files.

**Usage**

1. Create a DKIM domain key

    - See: [http://dkimcore.org/specification.html](http://dkimcore.org/specification.html "dkimcore.org")
2. Configure the DkimSigner using the config.dist file
3. Sign &amp; send

```
$mail = new \Laminas\Mail\Message();
$mail->setBody("Hello world!");
$mail->setFrom('from@example.com');
$mail->addTo('to@example.com');
$mail->setSubject('subject');

// Sign message with dkim
$signer = $this->getServiceLocator()->get(\Dkim\Signer\Signer::class);
$signer->signMessage($mail);

// Send message
$transport = new \Laminas\Mail\Transport\Sendmail();
$transport->send($mail);

```

###  Health Score

34

—

LowBetter than 78% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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

Every ~265 days

Total

4

Last Release

1289d ago

Major Versions

1.1 → 2.02022-09-12

PHP version history (2 changes)1.0PHP ^7.2

2.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d9bfe1b062ffcfed45fc969e1c354add7e44a6dbf3216dd587fc660f53ce155?d=identicon)[metalinspired](/maintainers/metalinspired)

---

Top Contributors

[![metalinspired](https://avatars.githubusercontent.com/u/18539473?v=4)](https://github.com/metalinspired "metalinspired (7 commits)")[![m-steinmann](https://avatars.githubusercontent.com/u/9484083?v=4)](https://github.com/m-steinmann "m-steinmann (1 commits)")

---

Tags

laminasmailmezziodkim

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/metalinspired-laminas-dkim/health.svg)

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

###  Alternatives

[zbateson/mail-mime-parser

MIME email message parser

53947.9M69](/packages/zbateson-mail-mime-parser)[slm/mail

Integration of various email service providers in the Laminas\\Mail

108728.6k1](/packages/slm-mail)[zbateson/stream-decorators

PHP psr7 stream decorators for mime message part streams

4747.3M4](/packages/zbateson-stream-decorators)[samsonasik/error-hero-module

A Hero for your Laminas and Mezzio application to trap php errors &amp; exceptions

5133.3k](/packages/samsonasik-error-hero-module)[opcodesio/mail-parser

Parse emails without the mailparse extension

216.2M6](/packages/opcodesio-mail-parser)[dotkernel/dot-mail

Dotkernel mail component based on symfony mailer

1138.8k5](/packages/dotkernel-dot-mail)

PHPackages © 2026

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