sagautam5 / changepassword
This will help to change the user password
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Language:Blade
This package is auto-updated.
Last update: 2024-11-28 21:04:48 UTC
README
This will help to change the user password in laravel
Change Password
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.*
Installation
composer require sagautam5/changepassword
Basic Usage
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.