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

Create a user with artisan command

12.952
20
v0.1.4
About rap2hpoutre/create-user-command

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

Last updated

Laravel User Command

Software License

Create a user with artisan command.

Install

Install via composer

composer require rap2hpoutre/create-user-command

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

\Rap2hpoutre\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