PHPackages                             mailketing/mailketing-laravel - 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. mailketing/mailketing-laravel

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

mailketing/mailketing-laravel
=============================

This library adds a 'mailketing' mail driver to Laravel.

025PHP

Since Mar 8Pushed 5y ago1 watchersCompare

[ Source](https://github.com/pekanbarugamer/mailketing-laravel)[ Packagist](https://packagist.org/packages/mailketing/mailketing-laravel)[ RSS](/packages/mailketing-mailketing-laravel/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![mailketinglogo](https://camo.githubusercontent.com/2614da3b09af2787ba60d96d895f4b3053e6c35fdb623c451deebb54a731ac2d/68747470733a2f2f6d61696c6b6574696e672e636f2e69642f77702d636f6e74656e742f75706c6f6164732f323032302f30352f6d61696c6b6574696e672e706e67)](https://camo.githubusercontent.com/2614da3b09af2787ba60d96d895f4b3053e6c35fdb623c451deebb54a731ac2d/68747470733a2f2f6d61696c6b6574696e672e636f2e69642f77702d636f6e74656e742f75706c6f6164732f323032302f30352f6d61696c6b6574696e672e706e67)

Laravel Driver for Mailketing
=============================

[](#laravel-driver-for-mailketing)

Sebuah Email Driver API untuk Laravel

Table of Content
================

[](#table-of-content)

- [Installation](#installation)
- [Quick Start](#quick-start)
- [Usage of library in Project](#inproject)
- [Sample Example](#eg)

Installation
============

[](#installation)

### Prerequisites

[](#prerequisites)

[PHP &gt; 7.1.3](https://www.php.net/manual/en/install.php)

[Composer v1.8](https://getcomposer.org/download/)

[Laravel 5.8](https://laravel.com/docs/5.8/installation)

guzzlehttp/guzzle 6.2.0

Usage
-----

[](#usage)

### Configuring laravel project

[](#configuring-laravel-project)

#### Step 1 - Buat Laravel Project / Gunakan Yang lama

[](#step-1---buat-laravel-project--gunakan-yang-lama)

```
laravel new testproject
```

#### Step 2 - Menuju Folder Project dan install dengan Composer.

[](#step-2---menuju-folder-project-dan-install-dengan-composer)

```
$ composer require mailketing/mailketing-laravel
```

#### Step 3 - Configurations

[](#step-3---configurations)

1. tambahkan code dibawah di file config/services.php

    ```
        'mailketing' => [
            'api_key' => env('MAILKETING_API_TOKEN'),
        ],
    ```
2. Tambahkan Code dibawah di .env file

    ```
    MAIL_DRIVER=mailketing
    MAILKETING_API_TOKEN='API_TOKEN_ANDA'
    ```

#### Step 4- Cara Testing, Anda sudah dapat menggunakan mail send laravel seperti biasa dan otomatis akan via mailketing

[](#step-4---cara-testing-anda-sudah-dapat-menggunakan-mail-send-laravel-seperti-biasa-dan-otomatis-akan-via-mailketing)

```
  Mail::send('contoh konten',$data, function ($message) {
      $message
          ->to('foo@example.com', 'foo_name')
          ->from('sender@example.com', 'sender_name')
          ->subject('subject');
  });

  echo 'Email sent successfully';

  ```

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

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/108659435?v=4)[fadlidzilikram](/maintainers/fadlidzilikram)[@fadlidzilikram](https://github.com/fadlidzilikram)

---

Top Contributors

[![pekanbarugamer](https://avatars.githubusercontent.com/u/12677303?v=4)](https://github.com/pekanbarugamer "pekanbarugamer (12 commits)")

### Embed Badge

![Health badge](/badges/mailketing-mailketing-laravel/health.svg)

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

###  Alternatives

[maize-tech/laravel-email-domain-rule

Laravel Email Domain Rule

612.0k](/packages/maize-tech-laravel-email-domain-rule)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.5k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

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