[email protected] Chirags Laravel Tutorial https://www.chirags.in
*********************************************************************************************
Laravel 11 - Login with Email OTP in हिन्दी
***********************************************************************************************
Step 1: create Project
composer create-project laravel/laravel LaravelLoginWithOTPHin
cd LaravelLoginWithOTPHin
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=laravelloginwithotphin
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.
http://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:
https://www.chirags.in/tutorials/lara...
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
Смотрите видео Laravel Tutorial 6 (हिंदी) - Laravel 11 - Login with Email OTP онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Chirags Tutorial 20 Май 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 131 раз и оно понравилось 4 людям.