newtovaux/laravel-console-user-tools

Artisan commands for generating passwords and changing Laravel user passwords.

Maintainers

Package info

github.com/newtovaux/laravel-console-user-tools

pkg:composer/newtovaux/laravel-console-user-tools

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.0.3 2026-04-21 10:19 UTC

This package is auto-updated.

Last update: 2026-04-21 10:21:03 UTC


README

Artisan commands for generating passwords and changing user passwords in Laravel 13.

Installation

composer require newtovaux/laravel-console-user-tools
php artisan vendor:publish --tag=user-tools-config

Commands

Generate a password

php artisan user-tools:create
php artisan user-tools:create --length=24
php artisan user-tools:create --no-symbols

Change a user's password

php artisan user-tools:user-password dan@example.com
php artisan user-tools:user-password dan@example.com --generate
php artisan user-tools:user-password 15 --column=id

List all users

php artisan user-tools:list-users

Change a user's email address

php artisan user-tools:user-amend-email dan@example.com
php artisan user-tools:user-amend-email 15 --column=id
php artisan user-tools:user-amend-email dan@example.com --email=new@example.com

Practical notes

First, this package assumes your user table has a password column and your configured user model is Eloquent-backed, which is the normal Laravel setup.

Second, the application’s configured auth user model by default so the package stays reusable across projects instead of hard-coding App\Models\User. That aligns well with Laravel’s package and auth conventions.