kuusamo/plugin-mailgun

Mailgun plugin for Kuusamo

Installs: 21

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/kuusamo/plugin-mailgun

1.0.2 2023-05-03 12:30 UTC

This package is auto-updated.

Last update: 2025-10-01 00:16:11 UTC


README

Latest Stable Version Total Downloads License Build Status

This plugin adds Mailgun email integration to Kuusamo.

Installation

Install into your project using Composer.

composer require kuusamo/plugin-mailgun

Usage

Install it in index.php of your project.

$mailgunConfig = new Kuusamo\Plugin\Mailgun\MailgunConfig([
    'senderAddress' => 'test@example.com',
    'senderName' => 'Kuusamo',
    'senderReplyAddress' => 'reply@example.com', // optional
    'apiKey' => 'abc123',
    'domain' => 'kuusamo.org'
]);

$provider = Kuusamo\Plugin\Mailgun\MailgunFactory::create($mailgunConfig);
Kuusamo\Vle\Service\Email\EmailFactory::setProvider($provider);

Development

Run the tests

ant