Тёмный

Laravel Tutorial 6 - Laravel 11 - Login with Email OTP 

Chirags Tutorial
Подписаться 1,3 тыс.
Просмотров 903
50% 1

inchirags@gmail.com Chirags Laravel Tutorial www.chirags.in
*********************************************************************************************
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
DB_PASSWORD=admin@123
Step 4 : add one column in users table using migration table (filename is 0001_01_01_000000_create_users_table.php).
Schema::create('users', function (Blueprint $table) {
.................
$table➡integer('otp')➡nullable();
.................
});
add "otp" in Model page i.e User.php
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.
//Once the dependencies have been installed using npm install, you can compile your SASS files to plain CSS using Vite. The npm run dev command will process the instructions in your vite.config.js file. Typically, your compiled CSS will be placed in the public/build/assets directory:
php run dev
for running the server.
php artisan serve
Now open in browser and test the pages.
127.0.0.1:8000
Note: Flow the Process shown in video.
😉Subscribe and like for more videos:
/ @chiragstutorial
💛Don't forget to, 💘Follow, 💝Like, 💖Share 💙&, Comment
Tutorial Link:
www.chirags.in...
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

Опубликовано:

 

3 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
Laravel OTP Login - Laravel 9 OTP Login
37:10
Просмотров 20 тыс.
Лиса🦊 УЖЕ НА ВСЕХ ПЛОЩАДКАХ!
00:24
Laravel CRUD in 50 minutes for Beginners  from Scratch
49:58
Mastering Laravel: Custom Email Verification Tutorial
12:52