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
Requires
- php: >=7.4.0
- kriswallsmith/buzz: 1.*
- kuusamo/core: *
- mailgun/mailgun-php: 3.*
- nyholm/psr7: 1.*
Requires (Dev)
- phpunit/phpunit: 9.*
- squizlabs/php_codesniffer: 3.*
This package is auto-updated.
Last update: 2025-10-01 00:16:11 UTC
README
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