ask('What is the name?'); $email = $this->ask('What is the mail?'); $pwd = $this->secret('What is the password?'); $user = new User(); $user->name = $name; $user->email = $email; $user->password = Hash::make($pwd); $user->save(); $this->info('User created.'); } }