PHPackages                             angrychimp/php-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. [Security](/categories/security)
4. /
5. angrychimp/php-dkim

ActiveLibrary[Security](/categories/security)

angrychimp/php-dkim
===================

Finally, a PHP5 class for not just signing, but \_verifying\_ DKIM signatures.

324.3k32[2 PRs](https://github.com/angrychimp/php-dkim/pulls)PHP

Since Feb 20Pushed 2y ago5 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

php-dkim
========

[](#php-dkim)

**Finally, a PHP5 class for not just signing, but *verifying* DKIM signatures.**

Requirements
------------

[](#requirements)

Currently this package requires PHP 5.1.2 or greater (or PECL `hash` &gt;= 1.1), which provides the `hash()` function.

Also required, at least one of the following present alongside your PHP installation.

- [openssl](http://us1.php.net/manual/en/openssl.installation.php)
- [phpseclib](http://phpseclib.sourceforge.net/)

At least one of those packages must be present in order to compute the RSA signature verification.

Usage
-----

[](#usage)

&lt;pending&gt;

Changelog
---------

[](#changelog)

**v0.2.1***11:28 AM 3/3/2016*

- Fixed index variable issue (#7)
- Addressed validation issue when public key record did not have public-key data (#7)
- Minor version numbering corrections
- Dropped old copyright info for as-yet-still-empty Sign code
- Fixed new-line trimming issue (potentially causing verification problems?) (#7)

**v0.2***5:36 PM 1/2/2013*

- Splitting TODOs into separate file.
- Finally got the header hash to match my expected value, based on debugging output from Mail::DKIM::Validate.
- Removed var\_dump() calls
- Still doesn't verify signatures properly - not sure where to go from here.

**v0.1***10:55 AM 12/31/2012*Initial commit. Most of the structure is in place, and the body hashes are validating, but I haven't been able to get the signature validation correct just yet. I must have some whitespace issue or some random public key problem.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/2feaee5216cc4d6e69decbfaeed2aecacabe1f36a0dfeb7c4a696f52bb794abf?d=identicon)[angrychimp](/maintainers/angrychimp)

---

Top Contributors

[![angrychimp](https://avatars.githubusercontent.com/u/744224?v=4)](https://github.com/angrychimp "angrychimp (23 commits)")[![jornane](https://avatars.githubusercontent.com/u/767872?v=4)](https://github.com/jornane "jornane (6 commits)")[![pimlie](https://avatars.githubusercontent.com/u/1067403?v=4)](https://github.com/pimlie "pimlie (5 commits)")[![slimlv](https://avatars.githubusercontent.com/u/818598?v=4)](https://github.com/slimlv "slimlv (3 commits)")[![M4GNV5](https://avatars.githubusercontent.com/u/5504713?v=4)](https://github.com/M4GNV5 "M4GNV5 (1 commits)")[![naetraga](https://avatars.githubusercontent.com/u/15329554?v=4)](https://github.com/naetraga "naetraga (1 commits)")

### Embed Badge

![Health badge](/badges/angrychimp-php-dkim/health.svg)

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

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M212](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M112](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[enlightn/security-checker

A PHP dependency vulnerabilities scanner based on the Security Advisories Database.

33732.2M110](/packages/enlightn-security-checker)

PHPackages © 2026

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