Story: I Have a Laravel project in my local system. I am using Xampp server of this in my PC. I don't have / forget the password. Now I have planned to change the password in DB.
Step 1: run the xampp
Step 2: Click on the Shell button
Step 3: Navigate to project directory in the command prompt:
cd C:\xampp\htdocs\your-laravel-project
Step 4: Run the the following command:
php artisan tinker
Step 5: Run the the following command (assuming your new password '123456789'):
echo Hash::make('123456789');
Step 6: Copy the code
Step 7: Replace the password in DB.