PHPackages                             maxwellimpact/laravel-password-reset - 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. maxwellimpact/laravel-password-reset

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

maxwellimpact/laravel-password-reset
====================================

Laravel Password Reset Extension to enable Injected Repositories

v1.0.1(7y ago)15.9k3[1 PRs](https://github.com/maxwellimpact/laravel-password-reset/pulls)MITPHPPHP ^7.0

Since Dec 3Pushed 5y agoCompare

[ Source](https://github.com/maxwellimpact/laravel-password-reset)[ Packagist](https://packagist.org/packages/maxwellimpact/laravel-password-reset)[ RSS](/packages/maxwellimpact-laravel-password-reset/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Laravel Password Reset
======================

[](#laravel-password-reset)

Extends the default password reset for Laravel to enable custom Token repositories. It also adds an in memory Token Repository for testing.

Setup
-----

[](#setup)

### Install

[](#install)

`composer require maxwellimpact/laravel-password-reset`

### Add the Service Provider

[](#add-the-service-provider)

In `config/app.php` replace `Illuminate\Auth\Passwords\PasswordResetServiceProvider` with `Maxwellimpact\PasswordReset\PasswordResetServiceProvider`

*Note:* If you are using Laravel 5.5 and up and have Package Discovery on, then just remove the original Laravel provider and it should work fine.

### Register Your Custom Repository

[](#register-your-custom-repository)

Register your custom repository creator in one of your Service Providers boot method. The `in_memory` repository is already registered by default.

```
public function boot()
{
    Password::repository('in_memory', function($app, $config) {
        return new InMemoryTokenRepository($config['expire']);
    });
}
```

### Configure the Repository

[](#configure-the-repository)

Add your settings in `auth.php`. The `repository` option is required for custom token repositories to be created, otherwise it defaults to the `DatabaseTokenRepository` that Laravel is hardcoded to. All config options will be passed in to your registered creator.

```
    ...
    'passwords' => [
        'users' => [
            'provider' => 'users',
            'repository' => 'in_memory',
            'expire' => 10,
        ],
    ]
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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 ~204 days

Total

2

Last Release

2561d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5667622?v=4)[Jonathan Cox](/maintainers/maxwellimpact)[@maxwellimpact](https://github.com/maxwellimpact)

---

Top Contributors

[![maxwellimpact](https://avatars.githubusercontent.com/u/5667622?v=4)](https://github.com/maxwellimpact "maxwellimpact (24 commits)")

---

Tags

laravelpasswordphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/maxwellimpact-laravel-password-reset/health.svg)

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

###  Alternatives

[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135212.4k7](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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