Change Password is a laravel package for changing logged in user password. General authentication features like login, register, forget password and email verification already comes with laravel builtin authentication. Password change feature for loggedin user is still missing. You can use this package to allow logged in users to change their password.
Change Password Requires
PHP >= 7.1.3
Laravel >= 5.8.*
composer require sagautam5/changepassword
After installation, you can use the change password feature by sending get request to following route,
url : url('/changepassword')
route: route('password.change.form')
After hitting above route or url, You will see a form like this:
If you want to change the form layout then just run the following command in console
php artisan vendor:publish
Then, select following provider,
Provider: Sagautam5\ChangePassword\ChangePasswordServiceProvider
Then you will see change.blade.php in the following path:
resources/views/vendor/changepassword/password/change.blade.php
You can modify this blade file to make password change form as you want.