Laravel Tutorial 6 - Laravel 11 - Login with Email OTP

preview_player
Показать описание
*********************************************************************************************
Laravel 11 - Login with Email OTP
***********************************************************************************************
Step 1: create Project
composer create-project laravel/laravel LaravelLoginWithOTP

cd LaravelLoginWithOTP

Open in any text editor like vscode, sublime text, notepad, notepad ++ etc.

Step 2 :
composer require laravel/ui

// Generate login / registration scaffolding...
php artisan ui bootstrap --auth

//Before compiling your CSS, install your project's frontend dependencies using the Node package manager (NPM):

npm install

Step 3 : configure database in .env file

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravelloginwithotp
DB_USERNAME=root

Schema::create('users', function (Blueprint $table) {
.................
$table➡integer('otp')➡nullable();
.................
});

protected $fillable = [
......
......
'otp',
];

Step 5 : now run the migration and create database & tables.

php artisan migrate

Step 6 : Now start the service in two tabs and check the application.

php run dev

# for running the server.
php artisan serve

Now open in browser and test the pages.

Note: Flow the Process shown in video.

😉Subscribe and like for more videos:
💛Don't forget to, 💘Follow, 💝Like, 💖Share 💙&, Comment

Tutorial Link:

Thanks & Regards,
Chitt Ranjan Mahto "Chirag"
_____________________________________________________________________
Note: All scripts used in this demo will be available in our website.
Link will be available in description.
#chirags
#chiragstutorial
#chiragslaraveltutorial
#chiragslaraveltutorials
#laraveltutorial
#laravel10
#laravelcourse
#installlaravel
#laravel_tutorial
#laravelphp
Рекомендации по теме