Ejemplo n.º 1
0
 /**
  * Execute the console command.
  *
  * @return mixed
  */
 public function handle()
 {
     // ip fullname
     // ip email
     // create a new User
     // validate user
     // save user
     $fullname = $this->ask('Enter the fullname');
     $email = $this->ask('Enter the email');
     $password = $this->secret('Enter the password');
     $noob = User::create(['fullname' => $fullname, 'email' => $email, 'password' => Hash::make($password)]);
 }