sagautam5/changepassword

This will help to change the user password

v1.0.3 2022-04-28 15:02 UTC

This package is auto-updated.

Last update: 2024-10-28 20:48:00 UTC


README

This will help to change the user password in laravel

Issues Stars Forks

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:

Password Change Form

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.