PHPackages                             paulkatipunan/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. paulkatipunan/password\_reset

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

paulkatipunan/password\_reset
=============================

reset password

137PHP

Since Nov 22Pushed 7y agoCompare

[ Source](https://github.com/paulkatipunan/password-reset)[ Packagist](https://packagist.org/packages/paulkatipunan/password_reset)[ RSS](/packages/paulkatipunan-password-reset/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Password Reset
==============

[](#password-reset)

Laravel password reset.

### Installing

[](#installing)

Install package using Composer:

```
        composer require paulkatipunan/password_reset

```

Register the package's service provider in config/app.php:

```
        'providers' => [

                PaulKatipunan\ServiceProvider::class,

            ],

```

Run the Artisan's command:

```
        php artisan vendor:publish --provider="PaulKatipunan\ServiceProvider" --tag="email-template"

```

This will publish the email template of the password reset link. And you can modify it if you want. You can include the user details in the email. Example:

```
        {{$user->email}}, {{$user->name}}

```

Run this Artisan's command: if you want to publish the change password blade file.

```
        php artisan vendor:publish --provider="PaulKatipunan\ServiceProvider" --tag="change-password-blade-file"

```

If you publish the change password blade file. you will be redirect to the change password blade file after clicking the sent link in your email and if you did not publish the blade file this will return you an object.

Example:

```
        {
          "email": "your_email@gmail.com",
          "token": "MWBtYVqpkotOehmVwPgCSXn3iKgYsdcIWJF7HyLQQESwWgA9pBx3Kw1isMhT",
          "created_at": "2018-11-22 06:09:59"
        }

```

### Configuration

[](#configuration)

Laravel's mailer has to be configured. Fill out these values in the .env file:

```
        MAIL_DRIVER=smtp
        MAIL_HOST=smtp.gmail.com
        MAIL_PORT=587
        MAIL_USERNAME=your_email@gmail.com
        MAIL_PASSWORD=youemailpassword
        MAIL_ENCRYPTION=ssl
        MAIL_FROM_EMAIL=from_mail@gmail.com
        MAIL_SUBJECT=Reset password

```

If you using gmail, also you need to enable less secure apps

```
        https://myaccount.google.com/u/1/lesssecureapps

```

### Usage

[](#usage)

In your controller just use sendPasswordResetLink() helper, you need to pass the email.

```
  public function create(Request $request)
  {

    return sendPasswordResetLink(request('email'));

  }

```

If you already set up the .env then pass the email to the helper and check your email this will send you the password reset link.

Example:

```
your view.blade.php

                        {{csrf_field()}}

```

```
your route/web.php

      Route::post('password/reset/request', 'PasswordResetController@send')->name('password.reset');

```

```
your Controller

         public function send(Request $request)
         {

           return sendPasswordResetLink(request('email'));

         }

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![paulkatipunan](https://avatars.githubusercontent.com/u/38784657?v=4)](https://github.com/paulkatipunan "paulkatipunan (8 commits)")

### Embed Badge

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

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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