PHPackages                             dilneiss/laravel-password-history - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. dilneiss/laravel-password-history

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

dilneiss/laravel-password-history
=================================

A package to keep a history of all password changes of users

1.0.0(3y ago)036MITPHPPHP ^7.1.3|7.2.\*|7.3.\*|7.4.\*|8.\*

Since Apr 20Pushed 3y agoCompare

[ Source](https://github.com/dilneiss/laravel-password-history)[ Packagist](https://packagist.org/packages/dilneiss/laravel-password-history)[ Docs](https://github.com/imanghafoori1/laravel-password-history)[ RSS](/packages/dilneiss-laravel-password-history/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Laravel Password History
========================

[](#laravel-password-history)

Keep a password history of your users to prevent them from reusing the same password, for security reasons like what google does.

Installation:
-------------

[](#installation)

```
composer require imanghafoori/laravel-password-history

```

To publish the config file and migrate the database:

```
php artisan vendor:publish

```

```
php artisan migrate

```

Visit the `config/password_history.php` file to see all the possibilities.

Usage:
------

[](#usage)

This package will observe the `saved` event of the models (which are mentioned in the config file) and records the password hashes automatically.

```
