LaravelPackages.net
Acme Inc.
Toggle sidebar
andp97/create-user-command

Create a user with artisan command

9
0
v0.1.6
About andp97/create-user-command

andp97/create-user-command is a Laravel package for create a user with artisan command. It currently has 0 GitHub stars and 9 downloads on Packagist (latest version v0.1.6). Install it with composer require andp97/create-user-command. Discover more Laravel packages by andp97 or browse all Laravel packages to compare alternatives.

Last updated

Laravel User Command

Software License

Create a user with artisan command.

NEW: Added support for php ^7.3 or ^8.0 and Laravel 8

Install

Install via composer

composer require andp97/create-user-command

Add the Create User command to app/Console/Kernel.php in protected $commands array

\Andp97\CreateUser\Command::class,

Usage

Define fillable attributes in your User class.

protected $fillable = ['name', 'email', 'role'];

Then, run user:create command.

demo

Why

Sometimes, I have to manually create user (with no web interface).

Comments