PHPackages                             noogic/laravel-cli-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. [CLI &amp; Console](/categories/cli)
4. /
5. noogic/laravel-cli-password-reset

ActiveLibrary[CLI &amp; Console](/categories/cli)

noogic/laravel-cli-password-reset
=================================

An artisan command to reset password for one or all users in a laravel application

1.0.1(6y ago)21.6k[1 issues](https://github.com/Noogic/laravel-cli-password-reset/issues)MITPHP

Since Jul 22Pushed 6y agoCompare

[ Source](https://github.com/Noogic/laravel-cli-password-reset)[ Packagist](https://packagist.org/packages/noogic/laravel-cli-password-reset)[ RSS](/packages/noogic-laravel-cli-password-reset/feed)WikiDiscussions master Synced 1mo ago

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

A Laravel command to easily reset user passwords
================================================

[](#a-laravel-command-to-easily-reset-user-passwords)

This Laravel package adds the command `password:reset` to your Laravel artisan commands.

> Due to the common sense, this package is **disabled in *production* environments**. If you are in a production environment, you should never know any user's password. In case you want to test this command in production, just use an staging enviornment.

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

[](#installation)

You can install this package as **dev only** dependency via composer using:

```
composer require --dev noogic/laravel-cli-password-reset

```

If you want to install as a direct dependency instead (not only for develop), then:

```
composer require noogic/laravel-cli-password-reset

```

> Just keep in mind that, anyways, it wont work in production environments for security reasons.

The package will automatically register its services provider.

Configuration
-------------

[](#configuration)

The package comes with its own configuration to locate de *User* class and define the *default password*.

```
'user' => 'App\User',
'password' => 'secret',

```

You can change it by publishing the `config/cli-password-reset.php` config file:

```
php artisan vendor:publish --provider="Noogic\PasswordReset\PasswordResetServiceProvider"

```

How to use
----------

[](#how-to-use)

The **default behaviour** is to reset all User's password to the default password:

```
php artisan password:reset

```

You can **specify the password** without changing the default value:

```
php artisan password:reset --password=anotherpassword

```

You can change the password **only to specified users** by passing the ids:

```
php artisan password:reset --id=1 --id=5 --id=12

```

And finally, you can combine the specific password with the specified users

```
php artisan password:reset --password=anotherpassword --id=1 --id=3

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

2

Last Release

2437d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/93447e93dc7032b0e34e7acd9f1e4996c063868a03de63ee0c21c3a718a67481?d=identicon)[noogic](/maintainers/noogic)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.1k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)[codedungeon/php-cli-colors

Liven up you PHP Console Apps with standard colors

10210.1M26](/packages/codedungeon-php-cli-colors)

PHPackages © 2026

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