/php-dkim

PHP DKIM signature validator

Primary LanguagePHPOtherNOASSERTION

PHP DKIM validator

Installation

composer require teon/dkim

Usage

$msgContent = "...";
$dkimValidator = new \Teon\DKIM\Validator($msgContent);
if (!$dkimValidator->validateBoolean()) {
    throw new Exception("DKIM validation FAILED!");
}

Changelog

See git history :)