PHPackages                             industrious-mouse/laravel-dotmailer - 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. industrious-mouse/laravel-dotmailer

ActiveLibrary

industrious-mouse/laravel-dotmailer
===================================

Laravel wrapper for the dotmailer-api-v2-client library (https://github.com/romanpitak/dotmailer-api-v2-client)

0.2.1(10y ago)63.2k↓100%5MITPHPPHP &gt;=5.3.0

Since Nov 20Pushed 7y ago2 watchersCompare

[ Source](https://github.com/industrious-agency/laravel-dotmailer)[ Packagist](https://packagist.org/packages/industrious-mouse/laravel-dotmailer)[ RSS](/packages/industrious-mouse-laravel-dotmailer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

Laravel Dotmailer
=================

[](#laravel-dotmailer)

A very basic Laravel wrapper for the [Dotmailer API Client](https://github.com/romanpitak/dotMailer-API-v2-PHP-client) by [romanpitak](https://github.com/romanpitak).

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

[](#installation)

To install, inside your project directory run the following from your terminal:

```
composer require industrious-mouse/laravel-dotmailer

```

Then load the service provider in your config/app.php:

```
IndustriousMouse\LaravelDotmailer\LaravelDotmailerServiceProvider::class

```

You'll also need to publish the config, so you can provide your keys:

```
php artisan vendor:publish --provider="IndustriousMouse\LaravelDotmailer\LaravelDotmailerServiceProvider"

```

Examples
--------

[](#examples)

### Adding a Contact with custom data fields.

[](#adding-a-contact-with-custom-data-fields)

```
$contact_data = new ApiContact([
	'email'			=> 'test@test.com',
	'emailType'		=> 'Html',
	'dataFields'	=> [
		[
			'key' => 'FIRSTNAME',
			'value' => 'Name'
		]
	]
]);

try
{
    $contact = Dotmailer::PostContacts($contact_data);
}
catch (Exception $e)
{
    return $e;
}

```

### Sending a Campaign to a contact

[](#sending-a-campaign-to-a-contact)

```
$contact_id = 12345;
$campaign_id = 12345;

$data = [
	'CampaignId'		=> $campaign_id,
	'ContactIds'		=> [
		$contact_id
	]
];

$send = Dotmailer::PostCampaignsSend(new ApiCampaignSend($data));

try
{
	$contact = Dotmailer::PostContacts($contact_data);
}
catch (Exception $e)
{
	return $e;
}

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.1% 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 ~170 days

Total

3

Last Release

3849d ago

PHP version history (2 changes)0.1PHP &gt;=5.4.0

0.2PHP &gt;=5.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/e4e4c666d8933ea89562350bd66ab2928949fab1fb7c17289f6d0b4448f5b17c?d=identicon)[industrious-mouse](/maintainers/industrious-mouse)

![](https://www.gravatar.com/avatar/2e248405bd1b88852dbff45d091e2678bbd2a5cf0412115a99507c8786cd580d?d=identicon)[christian-thomas](/maintainers/christian-thomas)

---

Top Contributors

[![christian-thomas](https://avatars.githubusercontent.com/u/740172?v=4)](https://github.com/christian-thomas "christian-thomas (35 commits)")[![haakym](https://avatars.githubusercontent.com/u/832687?v=4)](https://github.com/haakym "haakym (1 commits)")[![romanpitak](https://avatars.githubusercontent.com/u/2676459?v=4)](https://github.com/romanpitak "romanpitak (1 commits)")[![skecskes](https://avatars.githubusercontent.com/u/3411329?v=4)](https://github.com/skecskes "skecskes (1 commits)")

### Embed Badge

![Health badge](/badges/industrious-mouse-laravel-dotmailer/health.svg)

```
[![Health](https://phpackages.com/badges/industrious-mouse-laravel-dotmailer/health.svg)](https://phpackages.com/packages/industrious-mouse-laravel-dotmailer)
```

PHPackages © 2026

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