2017 © Pedro Peláez
 

library laravel-email-verification-interception

Email Verification and Mailer Interception package for controlling email sending.

image

ipunkt/laravel-email-verification-interception

Email Verification and Mailer Interception package for controlling email sending.

  • Friday, January 20, 2017
  • by rokde
  • Repository
  • 2 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Email verification and mailer interception package for Laravel

Do not send any email to an unverified or blacklisted customer. This package helps solving this task., (*1)

Latest Stable Version Latest Unstable Version License Total Downloads, (*2)

Quickstart

composer require ipunkt/laravel-email-verification-interception:dev-master

Add to providers in config/app.php:, (*3)

\Ipunkt\Laravel\EmailVerificationInterception\ServiceProvider::class,

Installation

Add to your composer.json following lines, (*4)

"require": {
    "ipunkt/laravel-email-verification-interception": "dev-master"
}

Add \Ipunkt\Laravel\EmailVerificationInterception\ServiceProvider::class, to providers in app/config/app.php., (*5)

Run php artisan vendor:publish --provider="Ipunkt\Laravel\EmailVerificationInterception\ServiceProvider" --tag=config to publish the config., (*6)

We ship an activation mail template. For customizing this run php artisan vendor:publish --provider="Ipunkt\Laravel\EmailVerificationInterception\ServiceProvider" --tag=view., (*7)

We also provide migration to create a database table. Laravel automatically migrates it. If you want to customize it just run php artisan vendor:publish --provider="Ipunkt\Laravel\EmailVerificationInterception\ServiceProvider" --tag=migrations, (*8)

Configuration

The main configuration settings handle the activation mail stuff., (*9)

Activation section

register-event-listening

We can register event listening by default. So every time a Registered event is fired, the email service interacts and sends a mailable for account confirmation., (*10)

subject

Mail subject for activation mail. You can change the subject. This subject will be used for the shipped ActivateEmail mailable., (*11)

from

You have to set your sender data for the activation mail., (*12)

view

The template view for the activation mail sent., (*13)

You can customize this view template content by publishing it to your code base by typing php artisan vendor:publish --provider="Ipunkt\Laravel\EmailVerificationInterception\ServiceProvider" --tag=view., (*14)

User Model

Sometimes the user model has a different model class. You can set it here., (*15)

The Versions

20/01 2017

dev-master

9999999-dev

Email Verification and Mailer Interception package for controlling email sending.

  Sources   Download

MIT

The Requires

 

by Robert Kummer