AddOn Spatie's awesome Mailcoach (https://mailcoach.app/): Use custom placeholder like ::foo:: invidual in every email List.
Tagging & Version goes along with mailcoach
- Mailcoach v3 = Mailcoach Custom Placeholder (master/3.x)
You can install the package via composer:
composer require timmoh/mailcoach-custom-placeholder
Publish migrations & migrate.
php artisan vendor:publish --tag=mailcoach-custom-placeholder-migrations
php artisan migrate
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
File: App\Providers\RouteServiceProvider
public function map() {
...
Route::mailcoachCustomPlaceholder($webPrefix);
//or
Route::mailcoachCustomPlaceholder('mailcoach');
...
}
Add EmailListPlaceholderReplacer::class to config/mailcoach.php
'replacers' => [
\Timmoh\MailcoachCustomPlaceholder\Support\Replacers\EmailListPlaceholderReplacer::class,
...
],
Extend Email List View:
(emailLists/layouts/partials/afterLastTab.blade.php
)
<x-mailcoach::navigation-group icon="far fa-cog" :title="__('Placeholder')">
<x-mailcoach::navigation-item :href="route('mailcoach.emailLists.placeholders', $emailList)">
{{ __('Custom') }}
</x-mailcoach::navigation-item>
</x-mailcoach::navigation-group>
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email timo@doersching.net instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
This package was generated using the Laravel Package Boilerplate.