PHPackages                             timmoh/mailcoach-custom-placeholder - 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. timmoh/mailcoach-custom-placeholder

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

timmoh/mailcoach-custom-placeholder
===================================

An opinionated Custom Placeholder on EmailLists &amp; Campaign for the awesome Mailcoach from Spatie

v5(4y ago)4321MITPHPPHP ^8.0|^8.1CI failing

Since Apr 16Pushed 4y agoCompare

[ Source](https://github.com/timmoh/mailcoach-custom-placeholder)[ Packagist](https://packagist.org/packages/timmoh/mailcoach-custom-placeholder)[ Docs](https://github.com/timmoh/mailcoach-custom-placeholder)[ RSS](/packages/timmoh-mailcoach-custom-placeholder/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (11)Versions (7)Used By (0)

Mailcoach Custom Placeholder
============================

[](#mailcoach-custom-placeholder)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9f7dcd558bf95d0dfc47d64095aff622f6a782e9090e3e09549733962895a1f5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74696d6d6f682f6d61696c636f6163682d637573746f6d2d706c616365686f6c6465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/timmoh/mailcoach-custom-placeholder)[![Test Status](https://camo.githubusercontent.com/30d4f309f56feda11e5e6d732e7da23f8e1b0fd3809e95e9f5efcd3d06a5636b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f74696d6d6f682f6d61696c636f6163682d637573746f6d2d706c616365686f6c6465722f72756e2d74657374733f6c6162656c3d7465737473)](https://camo.githubusercontent.com/30d4f309f56feda11e5e6d732e7da23f8e1b0fd3809e95e9f5efcd3d06a5636b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f74696d6d6f682f6d61696c636f6163682d637573746f6d2d706c616365686f6c6465722f72756e2d74657374733f6c6162656c3d7465737473)[![Code Style Status](https://camo.githubusercontent.com/35719d20e731ca00743646bc93f28ddd8ee94434965fa843ba3ab256b8152fc6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f74696d6d6f682f6d61696c636f6163682d637573746f6d2d706c616365686f6c6465722f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://camo.githubusercontent.com/35719d20e731ca00743646bc93f28ddd8ee94434965fa843ba3ab256b8152fc6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f74696d6d6f682f6d61696c636f6163682d637573746f6d2d706c616365686f6c6465722f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)[![Total Downloads](https://camo.githubusercontent.com/85947ced502c81b14664124055d286ef5cab5b61c61d310c02eaf75c43c6dd00/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74696d6d6f682f6d61696c636f6163682d637573746f6d2d706c616365686f6c6465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/timmoh/mailcoach-custom-placeholder)

AddOn Spatie's awesome Mailcoach (): Use custom placeholder like ::foo:: invidual in every email List.

Version / Tagging
-----------------

[](#version--tagging)

Tagging &amp; Version goes along with mailcoach

- Mailcoach v3 = Mailcoach Custom Placeholder (master/3.x)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require timmoh/mailcoach-custom-placeholder
```

Prepare Database:
-----------------

[](#prepare-database)

Publish migrations &amp; migrate.

```
php artisan vendor:publish --tag=mailcoach-custom-placeholder-migrations
php artisan migrate
```

### Publish Resources:

[](#publish-resources)

All Resources:

```
php artisan vendor:publish --tag=mailcoach-custom-placeholder
```

Or Single:

```
php artisan vendor:publish --tag=mailcoach-custom-placeholder-views
php artisan vendor:publish --tag=mailcoach-custom-placeholder-config
php artisan vendor:publish --tag=mailcoach-custom-placeholder-lang
```

Add Route
---------

[](#add-route)

File: `App\Providers\RouteServiceProvider`

```
public function map() {
...
Route::mailcoachCustomPlaceholder($webPrefix);
//or
Route::mailcoachCustomPlaceholder('mailcoach');
...
}
```

Usage
-----

[](#usage)

Add EmailListPlaceholderReplacer::class to config/mailcoach.php

```
'replacers' => [
     \Timmoh\MailcoachCustomPlaceholder\Support\Replacers\EmailListPlaceholderReplacer::class,
    ...
],
```

Extend Email List View: (`emailLists/layouts/partials/afterLastTab.blade.php`)

```

        {{ __('Custom') }}

```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Timo Dörsching](https://github.com/timmoh)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity69

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

Recently: every ~166 days

Total

6

Last Release

1555d ago

Major Versions

1.1.9 → 3.0.02020-10-03

3.0.0 → v4.x-dev2022-02-08

PHP version history (3 changes)1.1.0PHP ^7.4

v4.x-devPHP ^8.0

v5PHP ^8.0|^8.1

### Community

Maintainers

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

---

Top Contributors

[![timmoh](https://avatars.githubusercontent.com/u/4960172?v=4)](https://github.com/timmoh "timmoh (53 commits)")

---

Tags

timmohmailcoach-custom-placeholder

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/timmoh-mailcoach-custom-placeholder/health.svg)

```
[![Health](https://phpackages.com/badges/timmoh-mailcoach-custom-placeholder/health.svg)](https://phpackages.com/packages/timmoh-mailcoach-custom-placeholder)
```

###  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)
