spacedog4 / ccreateuser
Laravel 5 command rapid create user
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/spacedog4/ccreateuser
Requires
- laravel/framework: ^5.5.0
This package is not auto-updated.
Last update: 2025-10-08 19:42:28 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
,email
andpassword
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