Fix forgot passcode and change form Laravel 8

Fix forgot passcode and change form Laravel 8

   Fix forgot passcode and change form Laravel 8





step 1: Install ui

Note:

composer require laravel/ui
php artisan ui vue --auth

step 2: Install Laravel Project

First Install a Laravel project to run the below command

composer create-project --prefer-dist laravel/laravel dashboard_version

Step 3: Setup Database Credentials

Create a new database custom auth and now open your .env file and add your database credentials.

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=#Your database name
DB_USERNAME=root #Your database username
DB_PASSWORD=#Your database password

Now run the migration command and generate a table in the database.

php artisan migrate

Well, you have done Laravel Custom Authentication system – Custom Login, Register, Forget Password in your Laravel app. I hope you enjoy more this tutorial. If you have any queries please send a comment below. 

Introduction

Clear cache in Laravel means you will have noticed sometimes when you code it does not reflect on the web browser because Laravel is serving pages on the cache. In this tutorial, we will learn about how to clear cache and optimize the framework bootstrap files in the Laravel project.

Let's get started

Clear cache in Laravel via terminal or command prompt

The following are the commands that will be used to clear the different cache files from your Laravel application. To run the command navigate to your application root directory and enter the below artisan commands.

 

Clear Laravel application cache

To flush the Laravel application cache enter the following command.

php artisan cache:clear

Clear route-cache

Enter the following command will remove the routes cache file.

php artisan route:clear 

Clear view cache

When you create a new blade file. Before serving Laravel automatically compiles your view file. Enter the following command to clear all compiled view cache files

php artisan view:clear

Clear config cache

To remove all the configuration cache enter the following command

php artisan config:clear

Reactions

Post a Comment

0 Comments

close