How to Use Queue in Laravel 5.4 For Email Verification

Submitted by azazqadir - 1 month ago

This article demonstrates how you can use Queue in Laravel 5.4 for email verification by using integrated auth RegisterController. In addition, it will also explain how to add the email sending process to a queue to make your app processes faster. Source: https://hackernoon.com/how-to-use-queue-in-laravel-5-4-for-email-verification-3617527a7dbf

Schema::create(‘users’, function (Blueprint $table) {
$table->increments(‘id’);
$table->string(‘name’);
$table->string(‘email’)->unique();
$table->string(‘password’);
$table->tinyInteger(‘verified’)->default(0);
$table->string(‘email_token’)->nullable();
$table->rememberToken();
$table->timestamps();
});
comments powered by Disqus

Ads cover the costs of maintaining Laravel-tricks