PHPackages                             appoly/api-password-helper - 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. appoly/api-password-helper

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

appoly/api-password-helper
==========================

Allow the users to request a forgotten password and reset over api requests

2.3.3(3mo ago)05.0kMITPHPCI failing

Since Jan 29Pushed 3mo agoCompare

[ Source](https://github.com/appoly/Laravel-API-Password-Recover)[ Packagist](https://packagist.org/packages/appoly/api-password-helper)[ RSS](/packages/appoly-api-password-helper/feed)WikiDiscussions main Synced 1w ago

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

Laravel: API forgotten password helper
======================================

[](#laravel-api-forgotten-password-helper)

Introduction
------------

[](#introduction)

Save time creating functions to manage forgotten passwords in laravel for your Api's. This package will add a new key to your users model, along with two new routes that will handle the forgotten and reset password.

Quick Usage
-----------

[](#quick-usage)

### Composer

[](#composer)

```
composer require appoly/api-password-helper

```

Usage
-----

[](#usage)

Add the new key to your users table.

```
php artisan migrate

```

The Users Model needs to be *Notifiable* as an email will be automatically sent to them

```
class User extends Authenticatable
{
    use Notifiable;

```

### Routes

[](#routes)

Two new routes will be created in your application

```
GET: /api/forgot-password?email=johndoe@example.com

```

The Post route takes two form data parameters in the request *key* and *password*.

```
POST: /api/forgot-password

```

If your user model has `$fillable` ensure that `password_helper_key` is added to the list of fields that are allowed to be updated.

Edit the email
--------------

[](#edit-the-email)

To edit the email you need to publish the config to your project using

```
php artisan vendor:publish --tag=api-password-helper-config --force
```

This will add the LaravelApiPasswordHelper file to your config folder, from there you can edit different sections of the email

SmartSchema Compatibility
-------------------------

[](#smartschema-compatibility)

If you are using [SmartSchema](https://github.com/appoly/smart-schema/) to manage your models fillables then add SmartField to your model

```
class User extends Authenticatable
{
    use Notifiable, SmartField;

```

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance79

Regular maintenance activity

Popularity18

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

Recently: every ~431 days

Total

23

Last Release

109d ago

Major Versions

1.2.0 → 2.0.02020-12-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/69684a203a56f31f41383ce7bc7be23cdf2140a36eac7a6558bda31c1b53924b?d=identicon)[Mezzair](/maintainers/Mezzair)

---

Top Contributors

[![Mezzair](https://avatars.githubusercontent.com/u/771973?v=4)](https://github.com/Mezzair "Mezzair (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/appoly-api-password-helper/health.svg)

```
[![Health](https://phpackages.com/badges/appoly-api-password-helper/health.svg)](https://phpackages.com/packages/appoly-api-password-helper)
```

###  Alternatives

[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)[illuminate/auth

The Illuminate Auth package.

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

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[vonage/jwt

A standalone package for creating JWTs for Vonage APIs

424.1M4](/packages/vonage-jwt)

PHPackages © 2026

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