spacedog4/ccreateuser
Composer 安装命令:
composer require spacedog4/ccreateuser
包简介
Laravel 5 command rapid create user
README 文档
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
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-07-09