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 2d 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

Maturity30

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://www.gravatar.com/avatar/61aa7bfee2ce39088889a5ddf2a2b028afb0194369b39de7897ee38845bbc914?d=identicon)[fadlidzilikram](/maintainers/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

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

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