spacedog4 / ccreateuser
Laravel 5 command rapid create user
0.3.1
2018-07-10 12:34 UTC
Requires
- laravel/framework: ^5.5.0
This package is not auto-updated.
Last update: 2026-03-25 21:36:43 UTC
README
Laravel command for rapid creating an user with default table
Installation
You can use composer to install the package
composer require spacedog4/ccreateuser
Next add the Spacedog4\Command\UserCreaterCommand class to your console kernel
// app/Console/Kernel.php
protected $commands = [
...
\Spacedog4\Command\UserCreaterCommand::class,
]
Requirements
This command just works with the default users table from laravel, it must have:
- an User Model
app/User - a Laravel users table with the columns
name,emailandpassword
Usage
This command will create an user
php artisan user-create {name} {email} {password}
Where...
name is the user's name
email is user's email
password is user's password, it will be encrypted by Laravel Hash