PHPackages                             svenbw/kohana-email - 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. svenbw/kohana-email

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

svenbw/kohana-email
===================

Email module for Koseven

31.7k↓80%2PHP

Since Aug 25Pushed 7y ago2 watchersCompare

[ Source](https://github.com/svenbw/kohana-email)[ Packagist](https://packagist.org/packages/svenbw/kohana-email)[ RSS](/packages/svenbw-kohana-email/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Kohana Email module
===================

[](#kohana-email-module)

Kohana 3.3 and Koseven compatible email module using SwiftMailer or PHPMailer.

How to install
--------------

[](#how-to-install)

### Direct download method

[](#direct-download-method)

1. Download to modules directory.
2. Fetch dependencies:

```
composer install

```

3. Include it in `APPPATH/bootstrap.php` modules list:

```
Kohana::modules(array(
	...
	'email' => MODPATH.'email',
	...
));
```

### Composer module method

[](#composer-module-method)

1. Include with composer:

```
composer require svenbw/kohana-email:dev-master

```

2. Enable vendor autoload in `APPPATH/bootstrap.php` if not already:

```
require DOCROOT.'/vendor/autoload.php';
```

3. In the same file include it in your modules list:

```
Kohana::modules(array(
	...
	'email' => DOCROOT.'/vendor/svenbw/kohana-email',
	...
));
```

Usage
-----

[](#usage)

Send a message to a recipient

```
$mailer = Email::connect();
$mailer->send(
    array('to-recipient@example.com', 'To recipient'),
    array('the-sender@example.com', 'The sender'),
    'Test-email',
    'Test email',
    TRUE);
```

Advanced usage
--------------

[](#advanced-usage)

It is possible to create a message with chaining calls.

```
$mailer = Email::factory();
$mailer
  ->to('to-recipient@example.com', 'To recipient')
  ->from('the-sender@example.com', 'The sender')
  ->subject('Test-email')
  ->html('Test email body')
  ->send();
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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/44efb9ab8bceb2f9c298a3cb4ec04d840e4c0af11ac78bcefb8a58078bca2af4?d=identicon)[svenbw](/maintainers/svenbw)

---

Top Contributors

[![svenbw](https://avatars.githubusercontent.com/u/837206?v=4)](https://github.com/svenbw "svenbw (7 commits)")

---

Tags

emailkosevenphpmailerswiftmailer

### Embed Badge

![Health badge](/badges/svenbw-kohana-email/health.svg)

```
[![Health](https://phpackages.com/badges/svenbw-kohana-email/health.svg)](https://phpackages.com/packages/svenbw-kohana-email)
```

###  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)
