PHPackages                             mailflurry/mailflurry-php - 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. mailflurry/mailflurry-php

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

mailflurry/mailflurry-php
=========================

Official PHP SDK for the MailFlurry ESP platform

00PHP

Since Jun 2Pushed 1mo agoCompare

[ Source](https://github.com/alaesahbou/mailflurry-php)[ Packagist](https://packagist.org/packages/mailflurry/mailflurry-php)[ RSS](/packages/mailflurry-mailflurry-php/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

mailflurry-php
==============

[](#mailflurry-php)

Official PHP client library for the `MailFlurry` outbound deliverability and transactional ESP platform.

Installation
------------

[](#installation)

Install using Composer:

```
composer require mailflurry/mailflurry-php
```

Getting Started
---------------

[](#getting-started)

Initialize the client with your live developer API key (which must start with `sk_live_`):

```
require 'vendor/autoload.php';

use MailFlurry\MailFlurry;

$client = new MailFlurry('sk_live_your_api_key_here');
```

### Resource Usage

[](#resource-usage)

#### 1. Managing Sending Domains

[](#1-managing-sending-domains)

Register a new domain to retrieve DKIM/SPF DNS targets, and verify it:

```
// Register domain
$domain = $client->domains->create('workspace_id_123', 'mycompany.com');
echo "TXT Host: " . $domain['dkimRecordName'] . "\n";
echo "TXT Value: " . $domain['dkimRecordValue'] . "\n";

// Verify domain once DNS updates
$verification = $client->domains->verify($domain['id']);
echo "Verified Status: " . ($verification['dkimVerified'] ? 'Yes' : 'No') . "\n";
```

#### 2. Sending &amp; Managing Campaigns

[](#2-sending--managing-campaigns)

```
// Create bulk or targeted dispatch campaign
$campaign = $client->campaigns->create([
    'workspaceId' => 'workspace_id_123',
    'name'        => 'Monthly Tech Updates',
    'subject'     => 'What is new in MTA architectures',
    'content'     => 'Hello DevelopersOur Redis priorities queues are faster...',
    'senderEmail' => 'newsletter@mycompany.com',
    'recipients'  => ['engineer@client.com', 'team@partner.io']
]);
echo "Campaign Queued ID: " . $campaign['id'] . "\n";

// Retrieve real-time stats
$details = $client->campaigns->details('workspace_id_123', $campaign['id']);
echo "Opens Count: " . $details['opensCount'] . "\n";
echo "Clicks Count: " . $details['clicksCount'] . "\n";
```

License
-------

[](#license)

MIT

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance59

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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://avatars.githubusercontent.com/u/60272832?v=4)[alae-eddine sahbou](/maintainers/alaesahbou)[@alaesahbou](https://github.com/alaesahbou)

---

Top Contributors

[![alaesahbou](https://avatars.githubusercontent.com/u/60272832?v=4)](https://github.com/alaesahbou "alaesahbou (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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