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

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

sefirosweb/laravel-mailing
==========================

Package to help the mailing groups in front end

1.2.0(3y ago)0107MITPHP

Since May 22Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (5)Used By (0)

Laravel - Mailing
=================

[](#laravel---mailing)

Installation - Composer
-----------------------

[](#installation---composer)

You can install the package via composer:

```
composer require sefirosweb/laravel-mailing

```

Or manually add this to your composer.json:

**composer.json**

```
"sefirosweb/laravel-mailing": "*"
```

If you are using Laravel 5.5 and up, the service provider will automatically get registered.

For older versions of Laravel (&lt;5.5), you have to add the service provider:

**config/app.php**

```
'providers' => [
        ...
    	Sefirosweb\LaravelMailing\LaravelMailingServiceProvider::class,
]
```

Install database migrations

```
php artisan migrate

```

Publish frontend:

```
php artisan vendor:publish --provider="Sefirosweb\LaravelMailing\LaravelMailingServiceProvider" --tag=mailing-assets --force

```

Publish config:

```
php artisan vendor:publish --provider="Sefirosweb\LaravelMailing\LaravelMailingServiceProvider" --tag=config --force

```

**Please securize this path with middleware**
---------------------------------------------

[](#please-securize-this-path-with-middleware)

Easy way: `config/laravel-mailing.php`

```
return [
    'prefix' => 'mailgroups', // Prefix path
    'middleware' => ['web', 'auth'], // Use your self auth system
    'stage_to' => env('MAIL_LIST_STAGE_TO', 'Create "MAIL_LIST_STAGE_TO" in .env with default mail'), // Used for staging area, if not are in production return this value
];
```

Extra: for the advanced access list I recommend my other package: [laravel-access-list](https://github.com/sefirosweb/laravel-access-list)Usage:

```
return [
    'prefix' => 'mailgroups',
    'middleware' => ['web', 'auth', 'checkAcl:mailing_edit'], // Create access list "mailing_edit" and assign to role and user
];
```

Usage
-----

[](#usage)

Go to http://your\_app/mailgroups

- Create mailing list

    - Name =&gt; Free text
    - Code =&gt; Free text -&gt; used for get the mails associated
    - Description =&gt; Free text
- Associate the users with the edit button, search name and add it
- If the email to add is not a local user you can create a "Mail Group"

    - Go to Groups
    - Add new group with text and "to" email
    - Go to mailing list and add the group created

[![image](https://raw.githubusercontent.com/sefirosweb/laravel-mailing/master/docs/how_to.gif)](https://raw.githubusercontent.com/sefirosweb/laravel-mailing/master/docs/how_to.gif)

Once you have mailing list for get the emails you can use the helper:

```
use Sefirosweb\LaravelMailing\Http\Helpers\MailingList;

      ...
      $to = MailingList::get('mailing list');
      // Returns array
      //   $to = [
      //      0 => 'sefi@gmail.com'
      //    ]
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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 ~106 days

Total

4

Last Release

1130d ago

### Community

Maintainers

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

---

Top Contributors

[![sefirosweb](https://avatars.githubusercontent.com/u/20754836?v=4)](https://github.com/sefirosweb "sefirosweb (29 commits)")

### Embed Badge

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

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

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

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

PHPackages © 2026

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