PHPackages                             dainsys/mailing - 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. dainsys/mailing

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

dainsys/mailing
===============

Mailing and recipients management package for Dainsys. This package allows you to Associate recipients to your mailable files.

v1.2.3(3y ago)2382MITSCSS

Since Nov 30Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Yismen/mailing)[ Packagist](https://packagist.org/packages/dainsys/mailing)[ RSS](/packages/dainsys-mailing/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (8)Versions (14)Used By (2)

Dainsys Mailing and Recipients
==============================

[](#dainsys-mailing-and-recipients)

A full stack package to add mailing functionality to Laravel applications. This package allows you to associate recipients (contacts) to your mailable files.

### Installation

[](#installation)

1. Require using composer: `composer require dainsys/mailing`.
2. You can install all package assets by running `php artisan mailing:install` command.
    1. Another option is installing each asset individually:
        1. Publish the assets: `@php artisan vendor:publish --force --tag=mailing:assets`.
            1. optionally, you add the following line to your `composer` file, under the `scripts` and `post-update-cmd` key, to publish the assets every time you update your composer dependencies: `@php artisan vendor:publish --tag=mailing:assets --force --ansi`.
    2. If you may want to customize the migrations before next step, first publish them: `@php artisan vendor:publish --force --tag=mailing:migrations`.
    3. Run the migrations: `php artisan migrate`.
3. Only super admin users are allowed to interact with the app. You can register them using any of the following options:
    1. Using the register method of your `AuthServiceProvider`: `\Dainsys\Mailing\Mailing::registerSuperUsers(["super@user1.com", "super@user2.com"]);`.
    2. In your `.env` file, `MAILING_SUPER_USERS='super@user1.com,super@user2.com'`

##### Configure your application

[](#configure-your-application)

1. Visit package main route: `/dainsys/mailing/about`.
2. Optionally, you may want to publish and tweek the config file: `@php artisan vendor:publish --force --tag=mailing:config`.
3. This package has its own views, designed with livewire and AdminLte. However, if you may want to change them then you can publish them with `@php artisan vendor:publish --force --tag=mailing:views`.
4. Package views extend it's own layout app. However, you can change this by adding the key `MAILING_LAYOUT_VIEW` to your `.env` file. Or, change it directly in the `mailing` config file, under the `layout` key.

#### Usage

[](#usage)

1. The package is configured to auto discover your mailables within then `app\Mail` directory. However, if your mailables reside outside this folder or if you want to register another directory, add the line `\Dainsys\Mailing\Mailing::bind(app_path('Mail'));` to your `AppServiceProvider`. The package will try to load all your mailables for all directories added.
2. Visit route `/mailing/admin/recipients` to manage your recipients contacts.
3. Visit route `/mailing/admin/mailables` to manage your mailables and assign them to the recipients.
4. In your mailables, you can access the array of recipients associated to that class with the code snippet `\Dainsys\Mailing\Mailing::recipients($this);`. For example, `->to(\Dainsys\Mailing\Mailing::recipients($this))`

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

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.

###  Release Activity

Cadence

Every ~9 days

Recently: every ~21 days

Total

12

Last Release

1162d ago

Major Versions

0.1.3 → v1.0.02022-11-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/fb63dbe8a40df0f9ae9aeb2a6510aea91a7b2837e786590002a20f40f3161e5c?d=identicon)[Yismen](/maintainers/Yismen)

---

Top Contributors

[![Yismen](https://avatars.githubusercontent.com/u/4872942?v=4)](https://github.com/Yismen "Yismen (45 commits)")

### Embed Badge

![Health badge](/badges/dainsys-mailing/health.svg)

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

###  Alternatives

[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)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)

PHPackages © 2026

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