PHPackages                             lukapeharda/laravel-password-setup - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. lukapeharda/laravel-password-setup

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

lukapeharda/laravel-password-setup
==================================

Send password setup notification to users created through API

1.0.1(7y ago)24mitPHPPHP &gt;=7.0

Since Apr 4Pushed 7y ago1 watchersCompare

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

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

laravel-password-setup
======================

[](#laravel-password-setup)

Package for Laravel PHP framework which enables sending of email notifications to users (created through API) to setup password.

Consider this scenario: you are creating users through your API endpoint and after receiving their email and creating a user in the DB you want them to create their own password (because generating one for them and sending it through email is bad).

This package allows you to trigger an event which will be listened to by the built-in listener and send an email notification (using Laravel Notification) with a generated URL link with a password setup token. Token generated is the same as the one generated by the Laravel for resetting passwords. Views are provided as well (using Bootstrap v4).

Installation
------------

[](#installation)

Install it using composer:

`composer require lukapeharda/laravel-password-setup`

The service provider will be auto-discovered.

Consider publishing the package to override config or view:

`php artisan vendor:publish` and select appropriate package from list of provided ones

Usage
-----

[](#usage)

By default, package is set to listen to `LukaPeharda\LaravelPasswordSetup\Events\UserCreated` (which accepts a `$user` model) and then via `LukaPeharda\LaravelPasswordSetup\Listeners\SendNotification` listener sends a `LukaPeharda\LaravelPasswordSetup\Notifications\SetPassword` notification (with generated token) to provided user.

The user will receive an email with a link to a screen where he needs to enter (and confirm) his new password. After entering (and confirming) new password, the user will be logged in automatically.

You can adjust or disable some parts of this flow (and substitute it with your own code) in `config/laravel-password-setup.php`.

Alternatively, you can use artisan command `php artisan password:setup {user}` and give it user ID and it will generate a token and send an email notification to the given user.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Total

2

Last Release

2596d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laraveldebugprofilerdebugbarwebprofiler

### Embed Badge

![Health badge](/badges/lukapeharda-laravel-password-setup/health.svg)

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

###  Alternatives

[barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k124.3M624](/packages/barryvdh-laravel-debugbar)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[fruitcake/laravel-telescope-toolbar

Toolbar for Laravel Telescope based on Symfony Web Profiler

8041.6M3](/packages/fruitcake-laravel-telescope-toolbar)[recca0120/laravel-tracy

A Laravel Package to integrate Nette Tracy Debugger

388283.0k3](/packages/recca0120-laravel-tracy)[snowair/phalcon-debugbar

Integrates PHP Debug Bar with Phalcon.

160123.3k1](/packages/snowair-phalcon-debugbar)[daylerees/anbu

The Anbu profiler for Laravel 4.

3054.9k](/packages/daylerees-anbu)

PHPackages © 2026

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