PHPackages                             komicho/mail - 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. komicho/mail

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

komicho/mail
============

Send email in a simple and beautiful way

V1.0.0(8y ago)043PHP

Since Aug 21Pushed 8y ago1 watchersCompare

[ Source](https://github.com/komichoLab/mail)[ Packagist](https://packagist.org/packages/komicho/mail)[ Docs](https://github.com/komichoLab/mail)[ RSS](/packages/komicho-mail/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Komicho Mail
============

[](#komicho-mail)

You can send electronic mail or more using the templates

### Install via composer

[](#install-via-composer)

Add orm to composer.json configuration file.

```
$ composer require komicho/mail

```

And update the composer

```
$ composer update

```

code
----

[](#code)

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

use komicho\mail;

$mail = new mail;

$mail -> from('from@mail.com');
$mail -> to('to@mail.com');
$mail -> subject('subject');
$mail -> tem('tems/default');
$mail -> data([
    'name' => 'karim',
    'pass' => '132456',
    'loop' => ['users','admin']
]);
$mail -> demo();
```

tem
---

[](#tem)

Choose the template file

```
$mail -> tem('tems/default');
```

demo
----

[](#demo)

Certain before transmission

```
$mail -> demo();
```

send
----

[](#send)

To Send Email use

```
$mail -> send();
```

out
---

[](#out)

Output the result as a array

```
$res = $mail -> out();
echo '';
print_r($res);
```

example
-------

[](#example)

We establish the code to send mail and file template

file template : tems/default.php

```

        username :
        password :

```

some examples
-------------

[](#some-examples)

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

use komicho\mail;

$mail = new mail;

$mail -> from('from@mail.com');
$mail -> to('to@mail.com');
$mail -> subject('subject');
$mail -> tem('tems/default');
$mail -> data([
    'name' => 'karim',
    'pass' => '132456',
    'loop' => ['users','admin']
]);
$mail -> send();
$res = $mail->out();
echo '';
print_r($res);
```

### Another example

[](#another-example)

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

use komicho\mail;

$mail = new mail;

$res = $mail
    -> from('from@mail.com')
    -> to('to@mail.com')
    -> subject('subject')
    -> tem('tems/default')
    -> data([
        'name' => 'karim',
        'pass' => '132456',
        'loop' => ['users','admin']
    ])
    -> demo()
    -> out();
echo '';
print_r($res);
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3189d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/31162701?v=4)[komicho](/maintainers/komicho)[@komicho](https://github.com/komicho)

---

Top Contributors

[![komtcho](https://avatars.githubusercontent.com/u/12757671?v=4)](https://github.com/komtcho "komtcho (3 commits)")

---

Tags

phpmailkomicho

### Embed Badge

![Health badge](/badges/komicho-mail/health.svg)

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

###  Alternatives

[railsware/mailtrap-php

The Mailtrap SDK provides methods for all API functions.

56770.5k](/packages/railsware-mailtrap-php)[henrique-borba/php-sieve-manager

A modern (started in 2022) PHP library for the ManageSieve protocol (RFC5804) to create/edit Sieve scripts (RFC5228). Used by Cypht Webmail.

23125.7k2](/packages/henrique-borba-php-sieve-manager)[benhall14/php-imap-reader

A PHP class that makes working with IMAP in PHP simple.

3516.6k](/packages/benhall14-php-imap-reader)[shuchkin/react-smtp-client

ReactPHP async SMTP Client

245.7k](/packages/shuchkin-react-smtp-client)[juanparati/brevosuite

Complete Brevo integration with Laravel

1010.8k](/packages/juanparati-brevosuite)

PHPackages © 2026

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