PHPackages                             bubogumy/yii2-mailer - 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. bubogumy/yii2-mailer

ActiveYii2-extension[Mail &amp; Notifications](/categories/mail)

bubogumy/yii2-mailer
====================

Test

0881PHP

Since Aug 8Pushed 8y agoCompare

[ Source](https://github.com/Rolf/yii2-mailer)[ Packagist](https://packagist.org/packages/bubogumy/yii2-mailer)[ RSS](/packages/bubogumy-yii2-mailer/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Установка
=========

[](#установка)

В composer.json подключаем

```
"require": {
    "bubogumy/yii2-mailer": "dev-master"
}

```

После установка через консоль:
`composer require bubogumy/yii2-mailer`

Подключаем Веб-приложение в файле `config/web.php` в `components`

```
'm' => [
            'class' => 'bubogumy\Mailer',
        ]

```

Для отправки сообщений используем

```
use bubogumy\mailer;
Yii::$app->m->send($email = 'you@mail.com',$subject= 'title', $message='text');

```

Переменные, которые используются:
$email = почта, куда отправляем (обязательно);
$subject = тема сообщения (обязательно);
$message = сообщение (обязательно);
$attach = путь до файла, который отправляем.

#### Ошибки, которые могут возникнуть и как их решать

[](#ошибки-которые-могут-возникнуть-и-как-их-решать)

**Ошибка**

```
  Could not find package bubogumy/yii2-mailer at any version for your minimum
  -stability (stable). Check the package spelling or your minimum-stability

```

**Решение**

Добавляем в composer.json алиас `"minimum-stability": "dev"`

Проект на [packagist.org](https://packagist.org/packages/bubogumy/yii2-mailer)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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/4889a528adbacfd30940469274c6d28b4670a4cce1c70e255ff0a015a774440f?d=identicon)[bubogumy](/maintainers/bubogumy)

### Embed Badge

![Health badge](/badges/bubogumy-yii2-mailer/health.svg)

```
[![Health](https://phpackages.com/badges/bubogumy-yii2-mailer/health.svg)](https://phpackages.com/packages/bubogumy-yii2-mailer)
```

###  Alternatives

[mattketmo/email-checker

Throwaway email detection library

2752.1M5](/packages/mattketmo-email-checker)[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)
