Turn Your Vehicle Into a Smart Earning Asset

While you’re not driving your car or bike, it can still be working for you. MOTOSHARE helps you earn passive income by connecting your vehicle with trusted renters in your city.

πŸš— You set the rental price
πŸ” Secure bookings with verified renters
πŸ“ Track your vehicle with GPS integration
πŸ’° Start earning within 48 hours

Join as a Partner Today

It’s simple, safe, and rewarding. Your vehicle. Your rules. Your earnings.

How to Generate New Password in Laravel?

How to Generate New Password in Laravel?

Step 1. Create a new Project in Laravel, so Open git Bash. Write down the following command:-

$ composer create-project --prefer-dist laravel/laravel changepassword "5.8.*"Code language: JavaScript (javascript)

Step 2. Now, Move to project directory on git Bash, so write down the following command:-

$ cd changepassword

Mysql Database connection Laravel

Step 3. Now, we have to Create a new DatabaseGo to XAMPP server->phpMyAdmin->Click New Database->changepassword.

Step 4. Now, Go to .env file to set the project path and give the project APP_URL, DB_DATABASE name and DB_USERNAME name.

Step 5.  Create the user authentication scaffoldingWrite down the following command:-

$ php artisan make:auth

Step 6.  Thereafter, Migrate tables into the MySQL databaseWrite the following command within git Base.

$ php artisan migrate

Step 7. Go to app/Http/Controller/HomeController.php file and write down this following code:-

Step 8. Go to resources/views/home.blade.php file and write down this following code:-

Step 9. Go to Route/web.php file and write down this following code:-

Route::post('/home', 'HomeController@changePasswordUpdate')->name('home');
Code language: PHP (php)

Login

Checking the current password matches or not with the provided password

Checking new password should not be same with the current password

Password changed Successfully

Thanks

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.