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

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

vis/mail-templates
==================

1.0.59(10y ago)01852PHPPHP &gt;=5.4.0

Since Jul 25Pushed 10y ago1 watchersCompare

[ Source](https://github.com/arturishe21/mail-templates)[ Packagist](https://packagist.org/packages/vis/mail-templates)[ RSS](/packages/vis-mail-templates/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (15)Used By (2)

В composer.json добавляем в блок require

```
 "vis/mail-templates": "1.0.*"
```

Выполняем

```
composer update
```

Добавляем в app.php

```
  'Vis\MailTemplates\MailTemplatesServiceProvider',
```

Выполняем миграцию таблиц

```
   php artisan migrate --package=vis/mail-templates
```

Публикуем js файлы

```
   php artisan asset:publish vis/mail-templates
```

В файле app/config/packages/vis/builder/admin.php в массив menu в настройки добавляем

```
 	   array(
          'title' => 'Почта',
          'icon'  => 'envelope-o',
          'check' => function() {
              return true;
          },
          'submenu' => array(
              array(
                  'title' => "Шаблоны писем",
                  'link'  => '/emails/letter_template',
                  'check' => function() {
                      return true;
                  }
              ),
              array(
                  'title' => "Письма",
                  'link'  => '/emails/mailer',
                  'check' => function() {
                      return true;
                  }
              ),
              array(
                  'title' => "Настройки",
                  'link'  => '/emails/settings',
                  'check' => function() {
                      return true;
                  }
              ),
          )
      ),
```

Использование сверху

```
    use Vis\MailTemplates\MailT;
```

вызов

```
    $mail = new MailT("alias шаблона письма", array(
        "fio" => "Вася",
        "phone" => "097 000 00 00"
    ));
    $mail->to = "email";
    $mail->attach = Input::file('file_name'); //если нужно много файлов переслать, то оформлять как массив : array(Input::file('file_name'), Input::file('file_name'))

    $mail->send();
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity66

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

Every ~21 days

Recently: every ~31 days

Total

14

Last Release

3666d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b7ffd6192296a7a4be50ef6051026bdcb226401a5114d64dacc16dcaf7fb827?d=identicon)[arturishe](/maintainers/arturishe)

---

Top Contributors

[![arturishe](https://avatars.githubusercontent.com/u/3536387?v=4)](https://github.com/arturishe "arturishe (17 commits)")

### Embed Badge

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

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

###  Alternatives

[mckenziearts/laravel-notify

Flexible flash notifications for Laravel

1.7k1.1M5](/packages/mckenziearts-laravel-notify)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/apn

Apple APN Push Notification Channel

2021.9M4](/packages/laravel-notification-channels-apn)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[illuminate/mail

The Illuminate Mail package.

5910.1M391](/packages/illuminate-mail)

PHPackages © 2026

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