rap2hpoutre/create-user-command
Composer 安装命令:
composer require rap2hpoutre/create-user-command
包简介
Create a user with artisan command
README 文档
README
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.
Why
Sometimes, I have to manually create user (with no web interface).
统计信息
- 总下载量: 12.95k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 20
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-12-15
