1. Go to this page and download the library: Download mrcl/message-headers library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mrcl / message-headers example snippets
use Mrcl\Utils\InternetStandards\HttpHeader;
HttpHeader::CONTENT_ENCODING // 'Content-Encoding'
HttpHeader::ACCESS_CONTROL_ALLOW_CREDENTIALS // 'Access-Control-Allow-Credentials'
use Mrcl\Utils\InternetStandards\MessageHeaderFieldNames\Permanent\PermanentHttpHeader;
PermanentHttpHeader::CONTENT_ENCODING
use Mrcl\Utils\InternetStandards\MessageHeaderFieldNames\Provisional\ProvisionalHttpHeader;
ProvisionalHttpHeader::ACCESS_CONTROL_ALLOW_CREDENTIALS
use Mrcl\Utils\InternetStandards\MailHeader;
MailHeader::CC // 'Cc'
MailHeader::APPARENTLY_TO // 'Apparently-To'
use Mrcl\Utils\InternetStandards\MessageHeaderFieldNames\Permanent\PermanentMailHeader;
PermanentMailHeader::CC
use Mrcl\Utils\InternetStandards\MessageHeaderFieldNames\Provisional\ProvisionalMailHeader;
ProvisionalMailHeader::APPARENTLY_TO
use Mrcl\Utils\InternetStandards\MimeHeader;
MimeHeader::CONTENT_TYPE // 'Content-Type'
use Mrcl\Utils\InternetStandards\MessageHeaderFieldNames\Permanent\PermanentMimeHeader;
PermanentMimeHeader::CONTENT_TYPE
use Mrcl\Utils\InternetStandards\NetnewsHeader;
NetnewsHeader::NEWSGROUPS // 'Newsgroups'
NetnewsHeader::X_PGP_SIG // 'X-PGP-Sig'
use Mrcl\Utils\InternetStandards\MessageHeaderFieldNames\Permanent\PermanentNetnewsHeader;
PermanentNetnewsHeader::NEWSGROUPS
use Mrcl\Utils\InternetStandards\MessageHeaderFieldNames\Provisional\ProvisionalNetnewsHeader;
ProvisionalNetnewsHeader::X_PGP_SIG
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.