PHPackages                             adiafora/laravel-password-resets - 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. adiafora/laravel-password-resets

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

adiafora/laravel-password-resets
================================

The package allows you to reset the password using any field from the User table

2.1(5y ago)112MITPHPPHP &gt;=7.1

Since May 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/adiafora/laravel-password-resets)[ Packagist](https://packagist.org/packages/adiafora/laravel-password-resets)[ RSS](/packages/adiafora-laravel-password-resets/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (8)Used By (0)

Laravel. Reset a user's password using any field
================================================

[](#laravel-reset-a-users-password-using-any-field)

Laravel offers an easy way to reset a user's password. But by default, the required field for the user that identifies the user when the password is reset is the email field. This package allows you to reset a user's password using any field from the User table. This can be a phone number, username, or any other unique field from the User table.

🔧 Supported Versions
--------------------

[](#wrench-supported-versions)

Versions will be supported for a limited amount of time.

VersionLaravel VersionPhp VersionSupport1.0&lt;=5.5^7.0Unsupported since 15-5-20182.0^6.0^7.2^8.0Installation
------------

[](#installation)

Run:

```
    composer require "adiafora/laravel-password-resets"
```

For Laravel &lt; 5.5 Add in ServiceProvider to the providers array in `config/app.php`:

```
    Adiafora\PasswordResets\PasswordResetsServiceProvider::class,
```

Publish the configuration:

```
    php artisan vendor:publish --provider="Adiafora\PasswordResets\PasswordResetsServiceProvider"
```

In the configuration file `config/password_resets.php`, enter the name of the field that will be used to reset the password:

```
return [
    'field' => 'login',
];
```

> Please note! You may need to clear the config cache after this.

Finally, you'll also need to run migration on the package:

```
    php artisan migrate
```

Usage
-----

[](#usage)

In your ResetPasswordController, simply replace `Illuminate\Foundation\Auth\ResetsPasswords` trait with the `Adiafora\PasswordResets\Auth\ResetsPasswords` trait.

And in your ForgotPasswordController, simply replace `Illuminate\Foundation\Auth\SendsPasswordResetEmails` trait with the `Adiafora\PasswordResets\Auth\SendsPasswordResetEmails` trait.

License
-------

[](#license)

The MIT License (MIT). Please see License File for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~48 days

Recently: every ~72 days

Total

7

Last Release

1892d ago

Major Versions

1.0.5 → 2.02021-03-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/d4a7033811d36da4fe0bd43c276f2dd8b2b20915d5541cd02049b7b2258b8d70?d=identicon)[ZhidkovSV](/maintainers/ZhidkovSV)

---

Top Contributors

[![adiafora](https://avatars.githubusercontent.com/u/53189193?v=4)](https://github.com/adiafora "adiafora (2 commits)")

---

Tags

laravelpassword resets

### Embed Badge

![Health badge](/badges/adiafora-laravel-password-resets/health.svg)

```
[![Health](https://phpackages.com/badges/adiafora-laravel-password-resets/health.svg)](https://phpackages.com/packages/adiafora-laravel-password-resets)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[socialiteproviders/manager

Easily add new or override built-in providers in Laravel Socialite.

42442.0M544](/packages/socialiteproviders-manager)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

8359.8M53](/packages/php-open-source-saver-jwt-auth)[directorytree/ldaprecord-laravel

LDAP Authentication &amp; Management for Laravel.

5682.0M15](/packages/directorytree-ldaprecord-laravel)[josiasmontag/laravel-recaptchav3

Recaptcha V3 for Laravel package

2641.6M2](/packages/josiasmontag-laravel-recaptchav3)[olssonm/l5-very-basic-auth

Laravel stateless HTTP basic auth without the need for a database

1662.5M1](/packages/olssonm-l5-very-basic-auth)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
